OSDN Git Service

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)
commit17a6eceeb1c54a0a4af5b03ccc1de7ab824408bc
treebfb25fba798beee2616deab77d179b52743f61c1
parentd74d0ce5bcd61a1cadb8e6ae3ec23c29b2288b37
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