diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-02-05 17:44:29 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-02-11 17:04:44 -0800 |
commit | 487261f39bcd8983f55c611e299f70f34659674b (patch) | |
tree | ce3b804b5fe36470bfc782e707b9215c7e5e13ea /fs/f2fs/f2fs.h | |
parent | d24bdcbfc694026b5cc283cddf47e38f5a7b685d (diff) | |
download | op-kernel-dev-487261f39bcd8983f55c611e299f70f34659674b.zip op-kernel-dev-487261f39bcd8983f55c611e299f70f34659674b.tar.gz |
f2fs: merge {invalidate,release}page for meta/node/data pages
This patch merges ->{invalidate,release}page function for meta/node/data pages.
After this, duplication of codes could be removed.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 964c240..db1ff55 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1520,6 +1520,8 @@ struct page *get_lock_data_page(struct inode *, pgoff_t); struct page *get_new_data_page(struct inode *, struct page *, pgoff_t, bool); int do_write_data_page(struct page *, struct f2fs_io_info *); int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *, u64, u64); +void f2fs_invalidate_page(struct page *, unsigned int, unsigned int); +int f2fs_release_page(struct page *, gfp_t); /* * gc.c |