f2fs: retain inconsistency information to initiate fsck.f2fs
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 2 Sep 2014 22:43:52 +0000 (15:43 -0700)
committerIan Chang <ianc@nvidia.com>
Wed, 27 Jan 2016 10:04:12 +0000 (18:04 +0800)
commit597a1ceb0299ff0c44be9b6eadb093333e9a5828
tree3fe46cf24cc43efbdf67434a94a80fc94f72c212
parent7644e1baf93c3efdb60be12b0022114657c181eb
f2fs: retain inconsistency information to initiate fsck.f2fs

This patch adds sbi->need_fsck to conduct fsck.f2fs later.
This flag can only be removed by fsck.f2fs.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/super.c
include/linux/f2fs_fs.h