]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Simplify refcounting in do_xmote
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 2 Aug 2025 21:41:24 +0000 (23:41 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 12 Sep 2025 10:02:06 +0000 (12:02 +0200)
commit4250e683de69a637b93f7c7bda7818b36b1cf32e
tree4a91f0e36b9d753a33f93f39f93e3da0d85e36ec
parent2309a01351e56446f43c89e200d643647d47e739
gfs2: Simplify refcounting in do_xmote

In do_xmote(), take the additional glock references close to where those
references are needed.  This will simplify the next commit.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
fs/gfs2/glock.c