summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/rtrmap_repair.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:25:04 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-12-15 17:29:28 -0800
commit57569114e72124aebbe2ad863138fe8c5d19e1c1 (patch)
tree4abcf9db477f1aa2db82f0f756f0a6c8ecae0d64 /fs/xfs/scrub/rtrmap_repair.c
parenta1598fe19d9dfc6e8bd0aaa0efff9c3e446e5dbe (diff)
xfs: experiment with dontcache when scanning inodesvectorized-scrub_2021-12-15
Add some experimental flags to drop inodes from the cache after a scan. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/rtrmap_repair.c')
-rw-r--r--fs/xfs/scrub/rtrmap_repair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/rtrmap_repair.c b/fs/xfs/scrub/rtrmap_repair.c
index 03a28e733877..edcdc407f6cb 100644
--- a/fs/xfs/scrub/rtrmap_repair.c
+++ b/fs/xfs/scrub/rtrmap_repair.c
@@ -565,7 +565,7 @@ xrep_rtrmap_find_rmaps(
break;
error = xrep_rtrmap_scan_inode(rr, ip);
- xfs_irele(ip);
+ xchk_irele(sc, ip);
if (error)
break;