nilfs2: use checkpoint tree for mount check of snapshots
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 14 Aug 2010 12:44:51 +0000 (21:44 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:35 +0000 (09:24 +0900)
commitfd52202930b7e8db48bee5a6fc6b1f438e822a23
tree1ecb7ce60634b5575dd463417447555ef9f1576a
parentb7c0634204993d7c6678c852e4bd118426599111
nilfs2: use checkpoint tree for mount check of snapshots

This rewrites nilfs_checkpoint_is_mounted() function so that it
decides whether a checkpoint is mounted by whether the corresponding
root object is found in checkpoint tree.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/the_nilfs.c