]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa455d6070034c9e04cff74867e3593d39e6f227
treed6b523f51c81ba3c6a705be541b6834cdbdec3b5
parent24a33498264aa4049a0c2f43ee4e4b5d2c1492aa
Btrfs: fix that error value is changed by mistake

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