commit | c2d904e086b6f707b73bf065e4d18ded4b86ae9e | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Mon Oct 03 23:22:32 2011 -0400 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:30 2012 +0100 |
tree | 44ab2acff4eaefca2abd3273bd31fbc74f73f96c | |
parent | 8c3429300181be44b30f9f017d53dc717da56caa [diff] |
btrfs: Catch locking failures in {set,clear,convert}_extent_bit The *_state functions can only return 0 or -EEXIST. This patch addresses the cases where those functions returning -EEXIST represent a locking failure. It handles them by panicking with an appropriate error message. Signed-off-by: Jeff Mahoney <jeffm@suse.com>