]> 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)
commitc91e1d256a592ee4333318a0220787fb048e02df
treebfb25fba798beee2616deab77d179b52743f61c1
parent103dcabf5bb8a9b36f1df8a950f6bbecce5248f3
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