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)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:16 +0000 (13:45 +0100)
commit8694bb61360554e751f43688a9ff1793609884c4
tree45e1526d7f43d24a4e5bbc4246bc3819d85c1914
parentfc2e901f26859a87b7cd5c49015552805b7a00e0
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>
fs/btrfs/reada.c