aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2012-07-22 18:32:00 +0000
committerMark Brown <[email protected]>2012-07-22 18:32:00 +0000
commit3384fb98845dc014770caa224d61a2effd258ca5 (patch)
tree8189134a4938632e2d06e93af04c9fc1f3c2d4c9 /fs/btrfs/super.c
parentMerge branches 'regulator-core', 'regulator-dt' and 'regulator-dummy' into re... (diff)
parentregulator: add new lp8788 regulator driver (diff)
downloadkernel-3384fb98845dc014770caa224d61a2effd258ca5.tar.gz
kernel-3384fb98845dc014770caa224d61a2effd258ca5.zip
Merge branch 'regulator-drivers' into regulator-next
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 0eb9a4da069e..e23991574fdf 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1187,6 +1187,10 @@ static int btrfs_remount(struct super_block *sb, int *flags, char *data)
if (ret)
goto restore;
+ ret = btrfs_resume_balance_async(fs_info);
+ if (ret)
+ goto restore;
+
sb->s_flags &= ~MS_RDONLY;
}