diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-04-19 23:45:33 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:55:02 -0400 |
commit | 9bb91873e32af6305a1c5239024674e4a5a97e92 (patch) | |
tree | e31655e36122970005ac8790aa3eaeb5fc82e992 /fs/btrfs/disk-io.c | |
parent | d4c7ca86b59400cdab645b9a974a6ca4ec2f9f62 (diff) |
Btrfs: deal with bad mappings in btrfs_map_block
Martin Steigerwald reported a BUG_ON() in btrfs_map_block where we didn't find
a chunk for a particular block we were trying to map. This happened because the
block was bogus. We shouldn't be BUG_ON()'ing in this case, just print a
message and return an error. This came from reada_add_block and it appears to
deal with an error fine so we should be good there. Thanks,
Reported-by: Martin Steigerwald <Martin@lichtvoll.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions