Btrfs: restore restriper state on all mounts
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jun 2012 18:24:12 +0000 (12:24 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 2 Jul 2012 19:39:16 +0000 (15:39 -0400)
Fix a bug that triggered asserts in btrfs_balance() in both normal and
resume modes -- restriper state was not properly restored on read-only
mounts.  This factors out resuming code from btrfs_restore_balance(),
which is now also called earlier in the mount sequence to avoid the
problem of some early writes getting the old profile.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>

No differences found