aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-20 06:01:06 -0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-26 20:16:06 -0400
commit6ead114232f786e3ef7a034c8617f2a4df8e5226 (patch)
tree4ce177b708f8e98b148658a21d35fbec8bdc1e6b /fs/f2fs/f2fs.h
parent111d2495a8a8fbd8e3bb0f1c1c60f977b1386249 (diff)
f2fs: fix the recovery flow to handle errors correctly
We should handle errors during the recovery flow correctly. For example, if we get -ENOMEM, we should report a mount failure instead of conducting the remained mount procedure. Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
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 5bb87e0216f5..109e12d21a36 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1027,7 +1027,7 @@ void destroy_gc_caches(void);
1027/* 1027/*
1028 * recovery.c 1028 * recovery.c
1029 */ 1029 */
1030void recover_fsync_data(struct f2fs_sb_info *); 1030int recover_fsync_data(struct f2fs_sb_info *);
1031bool space_for_roll_forward(struct f2fs_sb_info *); 1031bool space_for_roll_forward(struct f2fs_sb_info *);
1032 1032
1033/* 1033/*