summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-07-25 00:52:52 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-08-05 08:08:15 -0700
commitedb27deea7cabfff8feb8c62aae647b7673be734 (patch)
treecde2beefcad2e8b30cebbe3b2c568893f000513a /fs/f2fs/f2fs.h
parenta6d494b6d84697f954aaade204e8a5843078a94f (diff)
downloadlinux-edb27deea7cabfff8feb8c62aae647b7673be734.tar.bz2
f2fs: handle error cases in commit_inmem_pages
This patch adds to handle error cases in commit_inmem_pages. If an error occurs, it stops to write the pages and return the error right away. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index e73f2e2453f9..58b05b541a4e 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1697,7 +1697,7 @@ void destroy_node_manager_caches(void);
* segment.c
*/
void register_inmem_page(struct inode *, struct page *);
-void commit_inmem_pages(struct inode *, bool);
+int commit_inmem_pages(struct inode *, bool);
void f2fs_balance_fs(struct f2fs_sb_info *);
void f2fs_balance_fs_bg(struct f2fs_sb_info *);
int f2fs_issue_flush(struct f2fs_sb_info *);