Commit 061594ef171a5ba52b5786688ae766907b0bda2b

Authored by Miao Xie
Committed by Josef Bacik
1 parent e1409cef85

Btrfs: pause the space balance when remounting to R/O

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -1263,6 +1263,7 @@
1263 1263  
1264 1264 btrfs_dev_replace_suspend_for_unmount(fs_info);
1265 1265 btrfs_scrub_cancel(fs_info);
  1266 + btrfs_pause_balance(fs_info);
1266 1267  
1267 1268 ret = btrfs_commit_super(root);
1268 1269 if (ret)