f2fs: give -EINVAL for norecovery and rw mount
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Mar 2016 23:12:58 +0000 (16:12 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Apr 2016 15:49:47 +0000 (08:49 -0700)
commit6781eabba1bdb133eb9125c4acf6704ccbe4df02
treef20bf831b5fdfc4390beae29976a6f90dda1502f
parentdf728b0f6954c38545f4bf12dedeeb9e07469a94
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>
fs/f2fs/f2fs.h
fs/f2fs/recovery.c
fs/f2fs/super.c