From: Ilya Dryomov Date: Fri, 22 Jun 2012 18:24:12 +0000 (-0600) Subject: Btrfs: restore restriper state on all mounts X-Git-Tag: v3.5-rc6~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68310a5e42f93c2242ec1836c3b18d531e0065e2;p=pandora-kernel.git 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 --- Reading git-diff-tree failed