commit | 79787eaab46121d4713ed03c8fc63b9ec3eaec76 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Mon Mar 12 16:03:00 2012 +0100 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 11:52:54 2012 +0100 |
tree | ee6b17d0811ee54ab74a03aa4e0bb92769d2f12a | |
parent | 49b25e0540904be0bf558b84475c69d72e4de66e [diff] |
btrfs: replace many BUG_ONs with proper error handling btrfs currently handles most errors with BUG_ON. This patch is a work-in- progress but aims to handle most errors other than internal logic errors and ENOMEM more gracefully. This iteration prevents most crashes but can run into lockups with the page lock on occasion when the timing "works out." Signed-off-by: Jeff Mahoney <jeffm@suse.com>