]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: move q_qlock locking into xchk_quota_item
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Nov 2025 13:23:05 +0000 (14:23 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 11 Nov 2025 10:45:58 +0000 (11:45 +0100)
commitbfca8760f47ecda61441950babbea6f79a51b377
tree10c3ee62f1714545246201c82bce9663d34f8a6d
parenta536bf9bec6ac461ec48bc8627545d56e4e71e9c
xfs: move q_qlock locking into xchk_quota_item

This avoids a pointless roundtrip because ilock needs to be taken first.

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/scrub/quota.c