diff options
author | Mark Fasheh <mfasheh@suse.com> | 2011-09-01 20:27:57 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-03-22 01:45:38 +0100 |
commit | 305a26af5b2561a66859ef05ed7eb73d3c9f0913 (patch) | |
tree | 9afdcd2ccbe2a72b7dadaf25f92a4a1ec109ecfe /net | |
parent | btrfs: Don't BUG_ON errors from update_ref_for_cow() (diff) | |
download | linux-305a26af5b2561a66859ef05ed7eb73d3c9f0913.tar.xz linux-305a26af5b2561a66859ef05ed7eb73d3c9f0913.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions