summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/segment.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-05-23 05:21:57 +0200
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-23 03:02:09 +0200
commitaee5ce2f578b98eba16e59cb84d39a95682a836b (patch)
treefd8b3d254a328f4b6ccf9240515002b0e1f96c88 /fs/nilfs2/segment.h
parentnilfs2: refactor recovery logic routines (diff)
downloadlinux-aee5ce2f578b98eba16e59cb84d39a95682a836b.tar.xz
linux-aee5ce2f578b98eba16e59cb84d39a95682a836b.zip
nilfs2: rename nilfs_recover_logical_segments function
The function name of nilfs_recover_logical_segments makes no sense. This changes the name into nilfs_salvage_orphan_logs to clarify the role of the function. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/segment.h')
-rw-r--r--fs/nilfs2/segment.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nilfs2/segment.h b/fs/nilfs2/segment.h
index d6bb67ee7bc8..17c487bd8152 100644
--- a/fs/nilfs2/segment.h
+++ b/fs/nilfs2/segment.h
@@ -238,9 +238,9 @@ extern int nilfs_read_super_root_block(struct the_nilfs *, sector_t,
struct buffer_head **, int);
extern int nilfs_search_super_root(struct the_nilfs *,
struct nilfs_recovery_info *);
-extern int nilfs_recover_logical_segments(struct the_nilfs *,
- struct nilfs_sb_info *,
- struct nilfs_recovery_info *);
+extern int nilfs_salvage_orphan_logs(struct the_nilfs *,
+ struct nilfs_sb_info *,
+ struct nilfs_recovery_info *);
extern void nilfs_dispose_segment_list(struct list_head *);
#endif /* _NILFS_SEGMENT_H */