nilfs2: clean up nilfs_write_super
authorJiro SEKIBA <jir@unicus.jp>
Wed, 22 Jul 2009 16:26:34 +0000 (01:26 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 14 Sep 2009 09:27:14 +0000 (18:27 +0900)
commit79efdd94111f30c373fce05e4e5822d8ff671c2a
tree9d12c0e87146fb4fb63362f567e574d629a222a1
parent6233caa9d5b153c2190d6c1c35c1dd1010104fc1
nilfs2: clean up nilfs_write_super

Separate conditions that check if syncing super block and alternative
super block are required as inline functions to reuse the conditions.

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