]> git.hungrycats.org Git - linux/commit
btrfs: make state preallocation more speculative in __set_extent_bit
authorDavid Sterba <dsterba@suse.com>
Tue, 26 Apr 2016 23:03:45 +0000 (01:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:18:56 +0000 (18:18 -0700)
commitc396d335d89fc0fc21032b478ef610fdd0b08906
treeb4a4e6d846d3bd85085327e97c592f20e2c68de4
parentf8f2b9dd9ccb165fa472855ef98e624e3173f8dd
btrfs: make state preallocation more speculative in __set_extent_bit

commit 059f791c6bbaba72dc3c1bd6e2657aacc8552849 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/extent_io.c