mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
xfs: fix dqiterate thinko
For some unknown reason, when I converted the incore dquot objects to store the dquot id in host endian order, I removed the increment here. This causes the scan to stop after retrieving the root dquot, which severely limits the usefulness of the quota scrubber. Fix the lost increment, though it won't fix the problem that the quota iterator code filters out zeroed dquot records. Fixes: c51df7334167e ("xfs: stop using q_core.d_id in the quota code") Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
This commit is contained in:
parent
220c8d57f5
commit
2c234a2286
@ -1386,7 +1386,7 @@ xfs_qm_dqiterate(
|
||||
return error;
|
||||
|
||||
error = iter_fn(dq, type, priv);
|
||||
id = dq->q_id;
|
||||
id = dq->q_id + 1;
|
||||
xfs_qm_dqput(dq);
|
||||
} while (error == 0 && id != 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user