From: Mark Fasheh Date: Thu, 1 Sep 2011 18:27:57 +0000 (-0700) Subject: btrfs: Go readonly on tree errors in balance_level X-Git-Tag: v3.4-rc1~22^2~13^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=305a26af5b2561a66859ef05ed7eb73d3c9f0913;p=pandora-kernel.git btrfs: Go readonly on tree errors in balance_level balace_level() seems to deal with missing tree nodes by BUG_ON(). Instead, we can easily just set the file system readonly and bubble -EROFS back up the stack. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed