]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: further simplify do_promote
authorBob Peterson <rpeterso@redhat.com>
Wed, 6 Oct 2021 12:59:59 +0000 (07:59 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 25 Oct 2021 06:42:19 +0000 (08:42 +0200)
commit95db373a3c0f989395cc1927ac99b2d2a2239e2e
tree7b0a86f2936932868c05ff6459e08c36723dd1d7
parentc91e1d256a592ee4333318a0220787fb048e02df
gfs2: further simplify do_promote

This patch further simplifies function do_promote by eliminating some
redundant code in favor of using a lock_released flag. This is just
prep work for a future patch.

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