Re: [PATCH] xfs: scrub: unlock dquot before early return in quota scrub
From: Carlos Maiolino
Date: Wed Mar 18 2026 - 06:16:04 EST
On Thu, 12 Mar 2026 20:10:26 +0800, hongao wrote:
> 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.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: scrub: unlock dquot before early return in quota scrub
commit: 268378b6ad20569af0d1957992de1c8b16c6e900
Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>