]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: move quota locking into xqcheck_commit_dquot
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Nov 2025 13:23:07 +0000 (14:23 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 11 Nov 2025 10:45:58 +0000 (11:45 +0100)
commita2ebb21f8ae1a8cc9414677ac7ddbf5c7cc6f48d
tree330b54c9aba653780700cd3f5a9eb5b799160872
parent7dd30acb4b3724ec4ecad1a6e2e19a33c0f0ace4
xfs: move quota locking into xqcheck_commit_dquot

Drop two redundant lock roundtrips by not requiring q_lock to be held on
entry and return.

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/quotacheck_repair.c