Btrfs: fix that error value is changed by mistake
authorStefan Behrens <sbehrens@giantdisaster.de>
Wed, 1 Aug 2012 10:28:01 +0000 (04:28 -0600)
committerChris Mason <chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:28 +0000 (16:53 -0400)
In iterate_inodes_from_logical() the error result from
extent_from_logical() is patched by mistake. Typically ENOENT is
patched to EINVAL because (-ENOENT & BTRFS_EXTENT_FLAG_TREE_BLOCK)
evaluates to true.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/backref.c

Simple merge