Make sure all dirty blocks are written at commit time
authorYan Zheng <zheng.yan@oracle.com>
Wed, 3 Jun 2009 15:59:47 +0000 (11:59 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 8 Jun 2009 17:31:10 +0000 (13:31 -0400)
commit0030f1d3aead310aa3a1d951311d47b3a819716b
tree0445287fd9570f4f7bbf511cce7e11d0b02e30e0
parent50860d6e31c28cf4789ef099729dfbce2108620a
Make sure all dirty blocks are written at commit time

Write dirty block groups may make some block groups dirty.
This patch make btrfs_write_dirty_block_groups properly
handle the recursion.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
extent-tree.c