OSDN Git Service

gfs2: simplify gdlm_put_lock with out_free label
authorBob Peterson <rpeterso@redhat.com>
Tue, 25 Apr 2023 16:26:19 +0000 (12:26 -0400)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 6 Jun 2023 16:35:06 +0000 (18:35 +0200)
commita9b0f6f4adb1a8b4219e3e14ab6ef46c14987ac0
tree206c0225ef28083dcd4e3afc4c5ea16163720b3e
parent0bdd0f0bf17c5aac16f348ee4b1ebf23d1ec1649
gfs2: simplify gdlm_put_lock with out_free label

This patch introduces a new out_free label and consolidates the three
places function gdlm_put_lock freed the glock.  No change in
functionality.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/lock_dlm.c