summaryrefslogtreecommitdiff
path: root/extent_io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-03-24 15:03:18 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-03-24 15:03:18 -0400
commit510be296772108b6d5ae829d76cef2b1a1690262 (patch)
tree39cfcefb9891552b388a04e0b5c05b1228f1716e /extent_io.c
parent00eb6ff6566816982903eb8c817606d6961c61ea (diff)
Add support for multiple devices per filesystem
Diffstat (limited to 'extent_io.c')
-rw-r--r--extent_io.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extent_io.c b/extent_io.c
index 62f35680..b663275f 100644
--- a/extent_io.c
+++ b/extent_io.c
@@ -552,8 +552,10 @@ static struct extent_buffer *__alloc_extent_buffer(struct extent_io_tree *tree,
int ret;
eb = malloc(sizeof(struct extent_buffer) + blocksize);
- if (!eb)
+ if (!eb) {
+ BUG();
return NULL;
+ }
eb->start = bytenr;
eb->len = blocksize;