]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 1 Oct 2012 19:19:23 +0000 (15:19 -0400)
commit059380569f77218c68ef3d16487c99fa7971b822
treef93a1fa5a256d730856a78113e42cc130634ebb7
parent9e7fb05216136cfe5cd0aaed85869756315e3f56
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