summaryrefslogtreecommitdiff
path: root/include/linux/tc_act/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorhongao <hongao@uniontech.com>2026-03-12 20:10:26 +0800
committerCarlos Maiolino <cem@kernel.org>2026-03-18 09:44:46 +0100
commit268378b6ad20569af0d1957992de1c8b16c6e900 (patch)
treed43e38e6dd5c6e3e5d5731de9c11d3b39fa8e865 /include/linux/tc_act/git@git.tavy.me:linux.git
parent7cac60947335f8d88a6390814840590a61134484 (diff)
xfs: scrub: unlock dquot before early return in quota scrub
xchk_quota_item can return early after calling xchk_fblock_process_error. When that helper returns false, the function returned immediately without dropping dq->q_qlock, which can leave the dquot lock held and risk lock leaks or deadlocks in later quota operations. Fix this by unlocking dq->q_qlock before the early return. Signed-off-by: hongao <hongao@uniontech.com> Fixes: 7d1f0e167a067e ("xfs: check the ondisk space mapping behind a dquot") Cc: <stable@vger.kernel.org> # v6.8 Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/tc_act/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions