diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-09 16:28:12 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-09 16:28:12 -0400 |
commit | 1b74adf90b95af77a2826dc82cf5c5f38af90e52 (patch) | |
tree | a88eeab8d60b4d284654d8b46fefec67b1d6f2ed /ctree.c | |
parent | 97864fa126c1e7675595882943d0397c45ef4b67 (diff) | |
download | btrfs-progs-1b74adf90b95af77a2826dc82cf5c5f38af90e52.tar.gz |
Change btrfs_map_block to return a structure with mappings for all stripes
Diffstat (limited to 'ctree.c')
-rw-r--r-- | ctree.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1928,8 +1928,10 @@ again: root->root_key.objectid, root_gen, disk_key.objectid, 0, l->start, 0); - if (IS_ERR(right)) + if (IS_ERR(right)) { + BUG_ON(1); return PTR_ERR(right); + } memset_extent_buffer(right, 0, 0, sizeof(struct btrfs_header)); btrfs_set_header_bytenr(right, right->start); |