diff options
author | Chao Yu <chao2.yu@samsung.com> | 2016-02-06 14:38:29 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-22 16:07:23 -0800 |
commit | 29b96b547e90f6a774d669348d8db2c35149f6f3 (patch) | |
tree | 54398a9c8728fa9986c183cf9c105194d6b022d0 /fs/f2fs/f2fs.h | |
parent | 7d9dfa1dd7f42bfb043c6090e22d0d77ff34b255 (diff) | |
download | op-kernel-dev-29b96b547e90f6a774d669348d8db2c35149f6f3.zip op-kernel-dev-29b96b547e90f6a774d669348d8db2c35149f6f3.tar.gz |
f2fs: split drop_inmem_pages from commit_inmem_pages
Split drop_inmem_pages from commit_inmem_pages for code readability,
and prepare for the following modification.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 66a87cb..d8caf0c 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1830,7 +1830,8 @@ void destroy_node_manager_caches(void); * segment.c */ void register_inmem_page(struct inode *, struct page *); -int commit_inmem_pages(struct inode *, bool); +void drop_inmem_pages(struct inode *); +int commit_inmem_pages(struct inode *); void f2fs_balance_fs(struct f2fs_sb_info *, bool); void f2fs_balance_fs_bg(struct f2fs_sb_info *); int f2fs_issue_flush(struct f2fs_sb_info *); |