commit | 68310a5e42f93c2242ec1836c3b18d531e0065e2 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Fri Jun 22 12:24:12 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Jul 02 15:39:16 2012 -0400 |
tree | cf457369274a1633ba02170fcb6aab0114906f0a | |
parent | c3473e830074ef04f974f2829690942dd8580619 [diff] |
Btrfs: restore restriper state on all mounts 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>