All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Btrfs: Fix balance panic
@ 2011-01-26 10:38 Yan, Zheng
  2011-01-26 15:33 ` Helmut Hullen
  0 siblings, 1 reply; 3+ messages in thread
From: Yan, Zheng @ 2011-01-26 10:38 UTC (permalink / raw)
  To: linux-btrfs

Mark the cloned backref_node as checked in clone_backref_node()

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
---
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index 045c9c2..bef9c22 100644
--- 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) {

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-02 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 10:38 [PATCH] Btrfs: Fix balance panic Yan, Zheng
2011-01-26 15:33 ` Helmut Hullen
2011-02-02 20:12   ` Goldwyn Rodrigues

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.