commit | 305a26af5b2561a66859ef05ed7eb73d3c9f0913 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@suse.com> | Thu Sep 01 11:27:57 2011 -0700 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:38 2012 +0100 |
tree | 9afdcd2ccbe2a72b7dadaf25f92a4a1ec109ecfe | |
parent | b68dc2a93e794c8507338c91577a277efa4555d5 [diff] |
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 <mfasheh@suse.com>