projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece29db
)
Add debugging for block group update failure
author
Chris Mason
<chris.mason@oracle.com>
Mon, 4 Feb 2008 15:10:13 +0000
(10:10 -0500)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Mon, 4 Feb 2008 15:10:13 +0000
(10:10 -0500)
extent-tree.c
patch
|
blob
|
history
diff --git
a/extent-tree.c
b/extent-tree.c
index
dc99932
..
4e77358
100644
(file)
--- a/
extent-tree.c
+++ b/
extent-tree.c
@@
-1705,7
+1705,11
@@
int btrfs_alloc_extent(struct btrfs_trans_handle *trans,
update_block:
ret = update_block_group(trans, root, ins->objectid, ins->offset, 1, 0,
data);
- BUG_ON(ret);
+ if (ret) {
+ printk("update block group failed for %Lu %Lu\n",
+ ins->objectid, ins->offset);
+ BUG();
+ }
return 0;
}