Btrfs: remove unnecessary code in btree_get_extent()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 13 Sep 2012 09:32:54 +0000 (03:32 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 4 Oct 2012 13:39:54 +0000 (09:39 -0400)
commitb4f359ab065b9c6c132124557d23e90e2e8504be
tree2833e229bc13a2e16bffbc9e90aea4d328bfd557
parent0433f20d436fd040013e5a419a2e3d732d618a41
Btrfs: remove unnecessary code in btree_get_extent()

Unnecessary lookup_extent_mapping() is removed because an error is
returned to the caller.
This patch was made based on the advice from Stefan Behrens, thanks.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/disk-io.c