diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-05-19 05:40:04 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-06-01 19:21:00 -0400 |
commit | 381722d2ac0314f65fd98db9a0eb8bdd1d984925 (patch) | |
tree | 0a3cb996b7c4fcb5479d06ec9cd797785283a250 /fs/f2fs/f2fs.h | |
parent | cb5c94cf3a825a0b64ae84516e7dd5c8a59befe6 (diff) |
f2fs: introduce update_meta_page
Add a help function update_meta_page() to update meta page with specified
buffer.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 5119167685ed..7e93fcf2df78 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -1690,6 +1690,7 @@ int npages_for_summary_flush(struct f2fs_sb_info *, bool); | |||
1690 | void allocate_new_segments(struct f2fs_sb_info *); | 1690 | void allocate_new_segments(struct f2fs_sb_info *); |
1691 | int f2fs_trim_fs(struct f2fs_sb_info *, struct fstrim_range *); | 1691 | int f2fs_trim_fs(struct f2fs_sb_info *, struct fstrim_range *); |
1692 | struct page *get_sum_page(struct f2fs_sb_info *, unsigned int); | 1692 | struct page *get_sum_page(struct f2fs_sb_info *, unsigned int); |
1693 | void update_meta_page(struct f2fs_sb_info *, void *, block_t); | ||
1693 | void write_meta_page(struct f2fs_sb_info *, struct page *); | 1694 | void write_meta_page(struct f2fs_sb_info *, struct page *); |
1694 | void write_node_page(unsigned int, struct f2fs_io_info *); | 1695 | void write_node_page(unsigned int, struct f2fs_io_info *); |
1695 | void write_data_page(struct dnode_of_data *, struct f2fs_io_info *); | 1696 | void write_data_page(struct dnode_of_data *, struct f2fs_io_info *); |