projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1409ce
)
Btrfs: pause the space balance when remounting to R/O
author
Miao Xie
<miaox@cn.fujitsu.com>
Wed, 15 May 2013 07:48:17 +0000
(07:48 +0000)
committer
Josef Bacik
<jbacik@fusionio.com>
Sat, 18 May 2013 01:40:31 +0000
(21:40 -0400)
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/super.c
b/fs/btrfs/super.c
index a4807ced23cc5791d500d28ee9f91fdc915f5df0..f0857e092a3cb1af485604850052440579a1bbf1 100644
(file)
--- a/
fs/btrfs/super.c
+++ b/
fs/btrfs/super.c
@@
-1263,6
+1263,7
@@
static int btrfs_remount(struct super_block *sb, int *flags, char *data)
btrfs_dev_replace_suspend_for_unmount(fs_info);
btrfs_scrub_cancel(fs_info);
+ btrfs_pause_balance(fs_info);
ret = btrfs_commit_super(root);
if (ret)