]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff3fc95e2c242f73213ab7b11a45d94b01389d3f
tree82e60058d2af36e5f6e8bb7851b5b25ba3e72909
parentedfa311973872f596b82fe39300792da7916cdb9
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