diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 2b07b3581781..11d1eab9234d 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -1658,9 +1658,7 @@ static int btrfs_remount(struct super_block *sb, int *flags, char *data) | |||
1658 | * groups on disk until we're mounted read-write again | 1658 | * groups on disk until we're mounted read-write again |
1659 | * unless we clean them up here. | 1659 | * unless we clean them up here. |
1660 | */ | 1660 | */ |
1661 | mutex_lock(&root->fs_info->cleaner_mutex); | ||
1662 | btrfs_delete_unused_bgs(fs_info); | 1661 | btrfs_delete_unused_bgs(fs_info); |
1663 | mutex_unlock(&root->fs_info->cleaner_mutex); | ||
1664 | 1662 | ||
1665 | btrfs_dev_replace_suspend_for_unmount(fs_info); | 1663 | btrfs_dev_replace_suspend_for_unmount(fs_info); |
1666 | btrfs_scrub_cancel(fs_info); | 1664 | btrfs_scrub_cancel(fs_info); |