]> git.hungrycats.org Git - linux/commit
btrfs: reada, remove pointless BUG_ON in reada_find_extent
authorDavid Sterba <dsterba@suse.com>
Tue, 8 Nov 2016 16:11:27 +0000 (17:11 +0100)
committerZygo Blaxell <zblaxell@thirteen.furryterror.org>
Sat, 10 Dec 2016 05:05:28 +0000 (00:05 -0500)
commitb655341c310e79326acb126eb01d93cbba1882d8
tree419a404133c1ea5f9c71e152dcdaed12c59bd914
parent774e464a3a0e62c0e5c458ac72ecdca8ea74c0ff
btrfs: reada, remove pointless BUG_ON in reada_find_extent

The lock is held, we make the same lookup that previously failed with
EEXIST and we don't insert NULL pointers.

Signed-off-by: David Sterba <dsterba@suse.com>
(cherry picked from commit 8694bb61360554e751f43688a9ff1793609884c4)
fs/btrfs/reada.c