diff options
Diffstat (limited to 'fs/xfs/scrub/quota.c')
-rw-r--r-- | fs/xfs/scrub/quota.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/scrub/quota.c b/fs/xfs/scrub/quota.c index 6ba465e6c885..50415e8e5dd1 100644 --- a/fs/xfs/scrub/quota.c +++ b/fs/xfs/scrub/quota.c @@ -268,8 +268,7 @@ xfs_scrub_quota( if (xfs_scrub_should_terminate(sc, &error)) break; - error = xfs_qm_dqget(mp, NULL, id, dqtype, XFS_QMOPT_DQNEXT, - &dq); + error = xfs_qm_dqget_next(mp, id, dqtype, &dq); if (error == -ENOENT) break; if (!xfs_scrub_fblock_process_error(sc, XFS_DATA_FORK, |