[Ocfs2-tools-devel] [PATCH 2/3] O2image: Cleanup for redundant bit mapping.

Tristan Ye tristan.ye at oracle.com
Mon May 24 05:25:40 PDT 2010


traverse_extents() should not be trying to map btree extent blocks since
we've already mapped them when doing scans for extent_alloc chains.

Am I missing anything?

Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
 o2image/o2image.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/o2image/o2image.c b/o2image/o2image.c
index 6f32486..9bac71a 100644
--- a/o2image/o2image.c
+++ b/o2image/o2image.c
@@ -106,7 +106,6 @@ static errcode_t traverse_extents(ocfs2_filesys *ofs,
 
 	for (i = 0; i < el->l_next_free_rec; ++i) {
 		rec = &(el->l_recs[i]);
-		ocfs2_image_mark_bitmap(ofs, rec->e_blkno);
 		if (el->l_tree_depth) {
 			ret = ocfs2_read_extent_block(ofs, rec->e_blkno, buf);
 			if (ret)
-- 
1.5.5




More information about the Ocfs2-tools-devel mailing list