diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-18 03:25:12 -0500 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-19 20:05:51 -0500 |
commit | 61a189e9c62359cd12b2aa3bd6ab9cffa6cf2745 (patch) | |
tree | 03c5cb693a5ea01474055fa26028c42d37011b1d /fs/nilfs2/sufile.h | |
parent | 70622a2091647840013c1e982e56a8808768847e (diff) |
nilfs2: move routine marking segment usage dirty into sufile
This adds nilfs_sufile_mark_dirty() function in sufile to replace
nilfs_touch_segusage() function in log writer code. This is a
preparation for the further cleanup which will move out low level
sufile operations in the log writer.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/sufile.h')
-rw-r--r-- | fs/nilfs2/sufile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nilfs2/sufile.h b/fs/nilfs2/sufile.h index c339ad5b5326..4146a652aed1 100644 --- a/fs/nilfs2/sufile.h +++ b/fs/nilfs2/sufile.h | |||
@@ -42,6 +42,7 @@ int nilfs_sufile_get_segment_usage(struct inode *, __u64, | |||
42 | struct buffer_head **); | 42 | struct buffer_head **); |
43 | void nilfs_sufile_put_segment_usage(struct inode *, __u64, | 43 | void nilfs_sufile_put_segment_usage(struct inode *, __u64, |
44 | struct buffer_head *); | 44 | struct buffer_head *); |
45 | int nilfs_sufile_mark_dirty(struct inode *sufile, __u64 segnum); | ||
45 | int nilfs_sufile_get_stat(struct inode *, struct nilfs_sustat *); | 46 | int nilfs_sufile_get_stat(struct inode *, struct nilfs_sustat *); |
46 | ssize_t nilfs_sufile_get_suinfo(struct inode *, __u64, void *, unsigned, | 47 | ssize_t nilfs_sufile_get_suinfo(struct inode *, __u64, void *, unsigned, |
47 | size_t); | 48 | size_t); |