aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/segment.h')
-rw-r--r--fs/nilfs2/segment.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/nilfs2/segment.h b/fs/nilfs2/segment.h
index 9544aa97dd49..e01998e33b31 100644
--- a/fs/nilfs2/segment.h
+++ b/fs/nilfs2/segment.h
@@ -233,18 +233,16 @@ extern void nilfs_flush_segment(struct super_block *, ino_t);
233extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *, 233extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *,
234 void **); 234 void **);
235 235
236int nilfs_attach_segment_constructor(struct nilfs_sb_info *sbi, 236int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root);
237 struct nilfs_root *root); 237void nilfs_detach_log_writer(struct super_block *sb);
238extern void nilfs_detach_segment_constructor(struct nilfs_sb_info *);
239 238
240/* recovery.c */ 239/* recovery.c */
241extern int nilfs_read_super_root_block(struct the_nilfs *, sector_t, 240extern int nilfs_read_super_root_block(struct the_nilfs *, sector_t,
242 struct buffer_head **, int); 241 struct buffer_head **, int);
243extern int nilfs_search_super_root(struct the_nilfs *, 242extern int nilfs_search_super_root(struct the_nilfs *,
244 struct nilfs_recovery_info *); 243 struct nilfs_recovery_info *);
245extern int nilfs_salvage_orphan_logs(struct the_nilfs *, 244int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
246 struct nilfs_sb_info *, 245 struct nilfs_recovery_info *ri);
247 struct nilfs_recovery_info *);
248extern void nilfs_dispose_segment_list(struct list_head *); 246extern void nilfs_dispose_segment_list(struct list_head *);
249 247
250#endif /* _NILFS_SEGMENT_H */ 248#endif /* _NILFS_SEGMENT_H */