nilfs2: move routine to set segment usage into sufile
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 18 Nov 2009 09:23:34 +0000 (18:23 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 20 Nov 2009 01:05:51 +0000 (10:05 +0900)
commit071ec54dd730307ee0e703a105872b9a1c6fd2aa
treefb6629e471adf24d432487e0641549fd38d20ef3
parent61a189e9c62359cd12b2aa3bd6ab9cffa6cf2745
nilfs2: move routine to set segment usage into sufile

This adds nilfs_sufile_set_segment_usage() function in sufile to
replace direct access to the sufile metadata in log writer code.

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