commit | 6233caa9d5b153c2190d6c1c35c1dd1010104fc1 | [log] [tgz] |
---|---|---|
author | Jiro SEKIBA <jir@unicus.jp> | Thu Jul 23 01:26:33 2009 +0900 |
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Mon Sep 14 18:27:14 2009 +0900 |
tree | 885fdeacf10bbbecebf94fc274bfd84ff28066f6 | |
parent | ec5d66abdb0caf8b753a138568f20770a3d64c8c [diff] |
nilfs2: fix disorder of nilfs_write_super in nilfs_sync_fs This fixes disorder of nilfs_write_super in nilfs_sync_fs. Commiting super block must be the end of the function so that every changes are reflected. ->sync_fs() is not called frequently so this makes nilfs_sync_fs call nilfs_commit_super instead of nilfs_write_super. Signed-off-by: Jiro SEKIBA <jir@unicus.jp> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>