diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-05-29 12:20:39 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-31 14:31:53 -0400 |
commit | fc99fe27b9a2cfb4ae5d869a116a73a17b075abf (patch) | |
tree | 59fba6e429fdeb7588f61975bd036c391dbab8d1 | |
parent | 9fd62605bba9a8c964d4ef57c2d2383bfc530bf2 (diff) |
f2fs: make __f2fs_write_data_pages() static
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | fs/f2fs/data.c | 2 | ||||
-rw-r--r-- | fs/f2fs/f2fs.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 97e6df852f37..10aa4d9a4b7c 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c | |||
@@ -2072,7 +2072,7 @@ continue_unlock: | |||
2072 | return ret; | 2072 | return ret; |
2073 | } | 2073 | } |
2074 | 2074 | ||
2075 | int __f2fs_write_data_pages(struct address_space *mapping, | 2075 | static int __f2fs_write_data_pages(struct address_space *mapping, |
2076 | struct writeback_control *wbc, | 2076 | struct writeback_control *wbc, |
2077 | enum iostat_type io_type) | 2077 | enum iostat_type io_type) |
2078 | { | 2078 | { |
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 2d0d39b1c140..7af0b7253e0f 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -2955,9 +2955,6 @@ int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, | |||
2955 | u64 start, u64 len); | 2955 | u64 start, u64 len); |
2956 | bool should_update_inplace(struct inode *inode, struct f2fs_io_info *fio); | 2956 | bool should_update_inplace(struct inode *inode, struct f2fs_io_info *fio); |
2957 | bool should_update_outplace(struct inode *inode, struct f2fs_io_info *fio); | 2957 | bool should_update_outplace(struct inode *inode, struct f2fs_io_info *fio); |
2958 | int __f2fs_write_data_pages(struct address_space *mapping, | ||
2959 | struct writeback_control *wbc, | ||
2960 | enum iostat_type io_type); | ||
2961 | void f2fs_invalidate_page(struct page *page, unsigned int offset, | 2958 | void f2fs_invalidate_page(struct page *page, unsigned int offset, |
2962 | unsigned int length); | 2959 | unsigned int length); |
2963 | int f2fs_release_page(struct page *page, gfp_t wait); | 2960 | int f2fs_release_page(struct page *page, gfp_t wait); |