projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f24cc
)
Btrfs: Fix balance panic
author
Yan, Zheng
<zheng.z.yan@linux.intel.com>
Mon, 14 Feb 2011 21:00:03 +0000
(16:00 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Mon, 14 Feb 2011 21:00:03 +0000
(16:00 -0500)
Mark the cloned backref_node as checked in clone_backref_node()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/relocation.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/relocation.c
b/fs/btrfs/relocation.c
index 1f5556acb53098775cc0d758c5872c6687c7a2be..0825e4ed9447a6a9bf8b825d211b2965c8299e88 100644
(file)
--- a/
fs/btrfs/relocation.c
+++ b/
fs/btrfs/relocation.c
@@
-1157,6
+1157,7
@@
static int clone_backref_node(struct btrfs_trans_handle *trans,
new_node->bytenr = dest->node->start;
new_node->level = node->level;
new_node->lowest = node->lowest;
+ new_node->checked = 1;
new_node->root = dest;
if (!node->lowest) {