nilfs2: eliminate removal list of segments
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 16 May 2009 14:44:55 +0000 (23:44 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 10 Jun 2009 14:41:09 +0000 (23:41 +0900)
commit071cb4b81987a28c7ac2702003cff3e61684a630
tree41e2f5a6d0e12d4ccc49850992ce6bfee68dd00e
parentdda54f4b872512eba484c38631bd6ae5b5716f41
nilfs2: eliminate removal list of segments

This will clean up the removal list of segments and the related
functions from segment.c and ioctl.c, which have hurt code
readability.

This elimination is applied by using nilfs_sufile_updatev() previously
introduced in the patch ("nilfs2: add sufile function that can modify
multiple segment usages").

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/ioctl.c
fs/nilfs2/segbuf.c
fs/nilfs2/seglist.h
fs/nilfs2/segment.c
fs/nilfs2/segment.h
fs/nilfs2/sufile.h