Hi, These are patches to update super blocks in turns. First patch separates super block validity check from nilfs_commit_super, and moved the function into callers. Second patch separates super block pointer updates from nilfs_commit_super. Callers which intend to update super root pointer in super block must call before calling nilfs_commit_super. Now nilfs_commit_super replicates the super block information except super root pointer information when passed dupsb as non-0. When dupsb is 0, nilfs_commit_super just clears the dirty flag and calls nilfs_sync_super. fs/nilfs2/nilfs.h | 2 + fs/nilfs2/segment.c | 8 +++- fs/nilfs2/super.c | 98 +++++++++++++++++++++++++++++++++++++++---------- fs/nilfs2/the_nilfs.c | 9 +++- 4 files changed, 92 insertions(+), 25 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html