summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/parent_repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/parent_repair.c')
-rw-r--r--fs/xfs/scrub/parent_repair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/scrub/parent_repair.c b/fs/xfs/scrub/parent_repair.c
index 28ffcee4f9e5..b9d244594913 100644
--- a/fs/xfs/scrub/parent_repair.c
+++ b/fs/xfs/scrub/parent_repair.c
@@ -285,7 +285,7 @@ xrep_parent_confirm(
*parent_ino = fpi.found_parent;
out_rele:
- xfs_irele(fpi.dp);
+ xchk_irele(sc, fpi.dp);
return error;
}
@@ -319,7 +319,7 @@ xrep_parent_from_dcache(
ret = XFS_I(pip)->i_ino;
}
- xfs_irele(XFS_I(pip));
+ xchk_irele(sc, XFS_I(pip));
out_dput:
dput(dentry);
@@ -363,7 +363,7 @@ xrep_parent_scan(
if (S_ISDIR(VFS_I(fpi.dp)->i_mode))
ret = xrep_findparent_walk_directory(&fpi);
xchk_iscan_mark_visited(&iscan, fpi.dp);
- xfs_irele(fpi.dp);
+ xchk_irele(sc, fpi.dp);
if (ret)
break;