diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-06-28 04:49:31 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-22 21:02:10 -0400 |
commit | 60f46b7efc1d6b980511c2644cb89903062f6e98 (patch) | |
tree | 6a0093650f858279db262c3b39de721bf3b20098 /fs/nilfs2/nilfs.h | |
parent | c8a11c8a1455c380286cfd3d3442e2b60edee49a (diff) |
nilfs2: separate function that updates log position
This moves out section that updates information of the recent log
position stored in super blocks from nilfs_commit_super to a new
routine named nilfs_set_log_cursor.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/nilfs.h')
-rw-r--r-- | fs/nilfs2/nilfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nilfs2/nilfs.h b/fs/nilfs2/nilfs.h index 469541711a1f..6718616183b7 100644 --- a/fs/nilfs2/nilfs.h +++ b/fs/nilfs2/nilfs.h | |||
@@ -270,6 +270,8 @@ extern struct nilfs_super_block * | |||
270 | nilfs_read_super_block(struct super_block *, u64, int, struct buffer_head **); | 270 | nilfs_read_super_block(struct super_block *, u64, int, struct buffer_head **); |
271 | extern int nilfs_store_magic_and_option(struct super_block *, | 271 | extern int nilfs_store_magic_and_option(struct super_block *, |
272 | struct nilfs_super_block *, char *); | 272 | struct nilfs_super_block *, char *); |
273 | extern void nilfs_set_log_cursor(struct nilfs_super_block *, | ||
274 | struct the_nilfs *); | ||
273 | extern int nilfs_commit_super(struct nilfs_sb_info *, int); | 275 | extern int nilfs_commit_super(struct nilfs_sb_info *, int); |
274 | extern int nilfs_cleanup_super(struct nilfs_sb_info *); | 276 | extern int nilfs_cleanup_super(struct nilfs_sb_info *); |
275 | extern int nilfs_attach_checkpoint(struct nilfs_sb_info *, __u64); | 277 | extern int nilfs_attach_checkpoint(struct nilfs_sb_info *, __u64); |