btrfs: make state preallocation more speculative in __set_extent_bit
commit059f791c6bbaba72dc3c1bd6e2657aacc8552849
authorDavid Sterba <dsterba@suse.com>
Tue, 26 Apr 2016 23:03:45 +0000 (27 01:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 29 Apr 2016 09:01:47 +0000 (29 11:01 +0200)
treefa6c32312908c53934fb9a6b0815cb32fa18fb2e
parent03bf5387708069194fbe5072fb57f9542e7a8b82
btrfs: make state preallocation more speculative in __set_extent_bit

Similar to __clear_extent_bit, do not fail if the state preallocation
fails as we might not need it. One less BUG_ON.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c