diff options
author | Josef Bacik <jbacik@fb.com> | 2014-09-25 16:10:48 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-01 16:34:45 +0200 |
commit | f6e4243fa8eb102f8fb564800a2bc87d5c110aa2 (patch) | |
tree | ea72094327c83ed73fdd511d876e6367cf7d8b89 /disk-io.c | |
parent | 3ae0209d94776faaa139fcebfafa22fd7840b9f4 (diff) |
Btrfs-progs: don't assert when we have an invalid mapping
Asserting is no fun, we may be able to recover from this error in certain cases
(like btrfs-image and btrfsck). Just do what the kernel does and spit out an
error and return that there is only 1 copy. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'disk-io.c')
0 files changed, 0 insertions, 0 deletions