[Ocfs2-tools-devel] [PATCH 3/3] debugfs.ocfs2: output extent block's fs generation
zren at suse.com
zren at suse.com
Wed Aug 26 22:40:05 PDT 2015
From: Eric Ren <zren at suse.com>
Let debugfs output extent block's fs generation so that
we can get this info directly.
Signed-off-by: Eric Ren <zren at suse.com>
Reviewed-by: Gang He <ghe at suse.com>
---
debugfs.ocfs2/dump.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debugfs.ocfs2/dump.c b/debugfs.ocfs2/dump.c
index da95a14..3b4d6bb 100644
--- a/debugfs.ocfs2/dump.c
+++ b/debugfs.ocfs2/dump.c
@@ -454,6 +454,9 @@ void dump_extent_block(FILE *out, struct ocfs2_extent_block *blk)
dump_block_check(out, &blk->h_check, blk);
+ fprintf(out, "\tFS Generation: %"PRIu32" (0x%x)\n", blk->h_fs_generation,
+ blk->h_fs_generation);
+
return ;
}
--
2.1.4
More information about the Ocfs2-tools-devel
mailing list