search for: btrfs_fixable_bug_on

Displaying 1 result from an estimated 1 matches for "btrfs_fixable_bug_on".

2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...ch are BUGing on non-fatal error conditions that should be handled by proper error paths. This makes it easier to distinguish between what needs fixing versus which BUG_ON''s we might want to keep (to trap code bugs, unexpected inconsistencies, etc). Do this with a trivial macro, ''btrfs_fixable_bug_on'' which just defines to BUG_ON(). The rest of this patch is basically a manual search and replace for all the places where it was obvious to me we simply needed better handling of errors. No code functionality has changed. Signed-off-by: Mark Fasheh <mfasheh@suse.com> --- fs/btrfs/...