summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-11-10 14:23:10 +0100
committerCarlos Maiolino <cem@kernel.org>2025-11-11 11:45:58 +0100
commit6a7bb6ccd00580461f01e86f592c7d8c7bb54793 (patch)
treed7e9366d4c69b00a6ba136b163099056bdbf9e2a /scripts/clang-tools/gen_compile_commands.py
parent13d3c1a045628e8453c31bd49578053c093e7a02 (diff)
xfs: reduce ilock roundtrips in xfs_qm_vop_dqalloc
xfs_qm_vop_dqalloc only needs the (exclusive) ilock for attaching dquots to the inode if not done so yet. All the other locks don't touch the inode and don't need the ilock - the i_rwsem / iolock protects against changes to the IDs while we are in a method, and the ilock would not help because dropping it for the dqget calls would be racy anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions