]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: return error if the range we want to map is bogus
authorJosef Bacik <josef@redhat.com>
Tue, 15 Mar 2011 18:52:12 +0000 (14:52 -0400)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:35 +0000 (14:21 -0400)
commitdd53003d954ceff63c1900a9e123f1219b9a4a86
tree8ecc731b9b03e32e067961bc30e6a824ed946187
parent33291f6ea845497bff222d5b5d176b9f3798b280
Btrfs: return error if the range we want to map is bogus

Currently if we have corrupt metadata map_extent_buffer will complain about it,
but not return an error so the caller has no idea a problem was hit.  Fix this.
Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/extent_io.c