summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/rtrmap_repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/rtrmap_repair.c')
-rw-r--r--fs/xfs/scrub/rtrmap_repair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/rtrmap_repair.c b/fs/xfs/scrub/rtrmap_repair.c
index aaa5964a7cda..1ba8d979d82c 100644
--- a/fs/xfs/scrub/rtrmap_repair.c
+++ b/fs/xfs/scrub/rtrmap_repair.c
@@ -351,7 +351,7 @@ xrep_rtrmap_scan_inode(
return 0;
/* Grab inode and lock it so we can scan it. */
- error = xfs_iget(mp, rr->sc->tp, ino, XFS_IGET_DONTCACHE, 0, &ip);
+ error = xfs_iget(mp, rr->sc->tp, ino, 0, 0, &ip);
if (error == -ENOENT)
xfs_emerg(mp, "%s: iget of ino 0x%llx returned ENOENT?!",
__func__, ino);
@@ -381,7 +381,7 @@ xrep_rtrmap_scan_inode(
out_unlock:
xfs_iunlock(ip, XFS_ILOCK_SHARED);
out_rele:
- xfs_irele(ip);
+ xchk_irele(rr->sc, ip);
return error;
}