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>
Fri, 27 Jul 2018 09:03:56 +0000 (18:03 +0900)
commit83a3bfdb5a8a086290dff2c13409c7380b683a96
tree708b16650dc813a32e4c6098f09907c53ea4050d
parentaf697c0f5c5b8798832e651baf23460d588393de
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