btrfs: Catch locking failures in {set,clear,convert}_extent_bit
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Oct 2011 03:22:32 +0000 (23:22 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:30 +0000 (01:45 +0100)
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>

No differences found