diff options
author | Jiro SEKIBA <jir@unicus.jp> | 2010-06-28 17:49:32 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-23 10:02:10 +0900 |
commit | d26493b6f017c0b0063a15bf893411ddae85eee4 (patch) | |
tree | 994de3e7c0383f0e30e5e9c88c0c5d0261a834bc /fs/nilfs2/the_nilfs.c | |
parent | 60f46b7efc1d6b980511c2644cb89903062f6e98 (diff) |
nilfs2: introduce nilfs_prepare_super
This function checks validity of super block pointers.
If first super block is invalid, it will swap the super blocks.
The function should be called before any super block information updates.
Caller must obtain nilfs->ns_sem.
Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/the_nilfs.c')
0 files changed, 0 insertions, 0 deletions