]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: re-factor function do_promote
authorBob Peterson <rpeterso@redhat.com>
Wed, 6 Oct 2021 12:35:04 +0000 (07:35 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 25 Oct 2021 06:42:19 +0000 (08:42 +0200)
commitfdfb54cd063bfa64ebdf7bd181eafdc5ed299f59
treebfb25fba798beee2616deab77d179b52743f61c1
parent3f8867f5b3f78c837b2fdddb45b13e2ef080c635
gfs2: re-factor function do_promote

This patch simply re-factors function do_promote to reduce the indents.
The logic should be unchanged. This makes future patches more readable.

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