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.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/xfs/scrub/rmap_repair.c b/fs/xfs/scrub/rmap_repair.c
index e22b870c399f..147430f8ce4f 100644
--- a/fs/xfs/scrub/rmap_repair.c
+++ b/fs/xfs/scrub/rmap_repair.c
@@ -127,16 +127,6 @@ xrep_setup_ag_rmapbt(
{
int error;
- /*
- * 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.
- */
- error = xchk_fs_freeze(sc);
- if (error)
- return error;
-
/* Check the AG number and set up the scrub context. */
error = xchk_setup_fs(sc);
if (error)