nilfs2: get rid of back pointer to writable sb instance
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 5 Sep 2010 07:17:35 +0000 (16:17 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:38 +0000 (09:24 +0900)
commit090fd5b10165033d7c30afde0a7e59141d820602
treecbb3ec5b29719457cd45f72624d03d7e31af4a4c
parentc6e071884aca360a14c21757d760e76ec34b4894
nilfs2: get rid of back pointer to writable sb instance

Nilfs object holds a back pointer to a writable super block instance
in nilfs->ns_writer, and this became eliminable since sb is now made
per device and all inodes have a valid pointer to it.

This deletes the ns_writer pointer and a reader/writer semaphore
protecting it.

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