btrfs-progs: remove dead condition for btrfs_map_block
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Wed, 26 Nov 2014 02:43:40 +0000 (10:43 +0800)
committerDavid Sterba <dsterba@suse.cz>
Tue, 9 Dec 2014 13:32:35 +0000 (14:32 +0100)
commitf0b1ff4481798c877bdf8869b8f69f36124466a8
tree50ecb993063ec5416a5a788b6b70cdabd168a13a
parent103f68d7158fdab45cb3bd3c5b03e1ad75e332ae
btrfs-progs: remove dead condition for btrfs_map_block

The @search_cache_extent() only returns the next cache_extent or NULL,
it will never return the previous cache_extent.
So just remove the dead condition for previous cache_extent handle.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
volumes.c