summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/rmap_repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/rmap_repair.c')
-rw-r--r--fs/xfs/scrub/rmap_repair.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/scrub/rmap_repair.c b/fs/xfs/scrub/rmap_repair.c
index 28d0395109d3..7730c97a4e61 100644
--- a/fs/xfs/scrub/rmap_repair.c
+++ b/fs/xfs/scrub/rmap_repair.c
@@ -120,20 +120,6 @@
* We use the 'xrep_rmap' prefix for all the rmap functions.
*/
-/* Set us up to repair reverse mapping btrees. */
-int
-xrep_setup_ag_rmapbt(
- struct xfs_scrub *sc)
-{
- /*
- * Freeze out anything that can lock an inode. We reconstruct
- * the rmapbt by reading inode bmaps with the AGF held, which is
- * only safe w.r.t. ABBA deadlocks if we're the only ones locking
- * inodes.
- */
- return xchk_fs_freeze(sc);
-}
-
/* Context for collecting rmaps */
struct xrep_rmap {
/* new rmapbt information */