f2fs: indicate shutdown f2fs to allow unmount successfully
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Jun 2018 20:46:23 +0000 (13:46 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Sep 2018 22:07:27 +0000 (15:07 -0700)
commitf87a488252498fda4891a5c8305b6e45e1290ed2
tree4322f008ddb651273fcbabf361cedc34b5f81d2b
parent526c162ba9800180e7dd4774bb789e7fcb8ec421
f2fs: indicate shutdown f2fs to allow unmount successfully

Once we shutdown f2fs, we have to flush stale pages in order to unmount
the system. In order to make stable, we need to stop fault injection as well.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/super.c