]> Gentwo Git Trees - linux/.git/commit
xfs: consolidate q_qlock locking in xfs_qm_dqget and xfs_qm_dqget_inode
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Nov 2025 13:22:59 +0000 (14:22 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 11 Nov 2025 10:45:58 +0000 (11:45 +0100)
commit0494f04643de72e13acd556e402cc4edc6169950
treea6cb5298d8bbdb9f3afd71c52937040a4290baf6
parent6b6e6e75211687c61c5660f65b4155cd0eb7e187
xfs: consolidate q_qlock locking in xfs_qm_dqget and xfs_qm_dqget_inode

Move taking q_qlock from the cache lookup / insert helpers into the
main functions and do it just before returning to the caller.

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_dquot.c