diff options
Diffstat (limited to 'fs/xfs/scrub/quotacheck.c')
-rw-r--r-- | fs/xfs/scrub/quotacheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/quotacheck.c b/fs/xfs/scrub/quotacheck.c index 89f4f833c3ad..07f50e48b986 100644 --- a/fs/xfs/scrub/quotacheck.c +++ b/fs/xfs/scrub/quotacheck.c @@ -437,7 +437,7 @@ xqcheck_collect_counts( struct xfs_scrub *sc = xqc->sc; struct xchk_iscan *iscan = &xqc->iscan; struct xfs_inode *ip; - int flags = XFS_IGET_UNTRUSTED | XFS_IGET_DONTCACHE; + int flags = XFS_IGET_UNTRUSTED; unsigned int retries = 20; int error; @@ -451,7 +451,7 @@ xqcheck_collect_counts( switch (error) { case 0: error = xqcheck_inode(xqc, ip); - xfs_irele(ip); + xchk_irele(sc, ip); if (error) return error; retries = 20; |