commit | b68dc2a93e794c8507338c91577a277efa4555d5 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@suse.com> | Mon Aug 29 14:30:39 2011 -0700 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:38 2012 +0100 |
tree | b4e8cbdafdd893a22abbbd7edca989ea018b6a72 | |
parent | e5df957328b18baa731307c66cfe8e7a4981df65 [diff] |
btrfs: Don't BUG_ON errors from update_ref_for_cow() __btrfs_cow_block(), the only caller of update_ref_for_cow() will BUG_ON() any error return. Instead, we can go read-only fs as update_ref_for_cow() manipulates disk data in a way which doesn't look like it's easily rolled back. Signed-off-by: Mark Fasheh <mfasheh@suse.de>