diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-03-23 23:12:58 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-04-15 15:49:47 (GMT) |
commit | 6781eabba1bdb133eb9125c4acf6704ccbe4df02 (patch) | |
tree | f20bf831b5fdfc4390beae29976a6f90dda1502f /fs/f2fs/f2fs.h | |
parent | df728b0f6954c38545f4bf12dedeeb9e07469a94 (diff) | |
download | linux-6781eabba1bdb133eb9125c4acf6704ccbe4df02.tar.xz |
f2fs: give -EINVAL for norecovery and rw mount
Once detecting something to recover, f2fs should stop mounting, given norecovery
and rw mount options.
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, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 7cb360e..e1c07b6 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1907,7 +1907,7 @@ void build_gc_manager(struct f2fs_sb_info *); /* * recovery.c */ -int recover_fsync_data(struct f2fs_sb_info *); +int recover_fsync_data(struct f2fs_sb_info *, bool); bool space_for_roll_forward(struct f2fs_sb_info *); /* |