nilfs2: simplify life cycle management of nilfs object
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 8 Sep 2010 17:07:56 +0000 (02:07 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:36 +0000 (09:24 +0900)
commit348fe8da13621b3d14ab2d156e74551611997017
tree82e60058d2af36e5f6e8bb7851b5b25ba3e72909
parentf11459ad7dab9e9eb5a05b8bd3bec338ea8f485d
nilfs2: simplify life cycle management of nilfs object

This stops pre-allocating nilfs object in nilfs_get_sb routine, and
stops managing its life cycle by reference counting.

nilfs_find_or_create_nilfs() function, nilfs->ns_mount_mutex,
nilfs_objects list, and the reference counter will be removed through
the simplification.

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