f2fs: support norecovery mount option
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 24 Jan 2015 02:33:46 +0000 (18:33 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:40 +0000 (17:04 -0800)
commit2d834bf9ac8e40d9ae2a2dcde2348bd028f87ec4
tree3488fad8e7a8c90363355b2265f69d9fd07c3da9
parentdabc4a5c60f796a8e7171272284ba077f9c1e439
f2fs: support norecovery mount option

This patch adds a mount option, norecovery, which is mostly same as
disable_roll_forward. The only difference is that norecovery should be activated
with read-only mount option.

This can be used when user wants to check whether f2fs is mountable or not
without any recovery process. (e.g., xfstests/200)

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/filesystems/f2fs.txt
fs/f2fs/super.c