]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: move some code out of xfs_iget_recycle
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2025 13:54:14 +0000 (14:54 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 24 Nov 2025 17:53:10 +0000 (18:53 +0100)
commitdcfa98bb5f7816aec787e74871982b06607ba9cb
tree931dd73c99602203efce3294ebcaa01b40a6a55a
parent1cfe3795c152c7415a9f49fc1e7f623c855d14ab
xfs: move some code out of xfs_iget_recycle

Having a function drop locks, reacquire them and release them again
seems to confuse the clang lock analysis even more than it confuses
humans.  Keep the humans and machines sanity by moving a chunk of
code into the caller to simplify the lock tracking.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_icache.c