nilfs2: set pointer to root object in inodes
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 25 Aug 2010 08:45:44 +0000 (17:45 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:34 +0000 (09:24 +0900)
This puts a pointer to nilfs_root object in the private part of
on-memory inode, and makes nilfs_iget function pick up the inode with
the same root object.

Non-root inodes inherit its nilfs_root object from parent inode.  That
of the root inode is allocated through nilfs_attach_checkpoint()
function.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>

No differences found