f2fs: fix to dirty inode synchronously
authorChao Yu <yuchao0@huawei.com>
Tue, 18 Dec 2018 11:20:17 +0000 (19:20 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Jan 2019 23:44:51 +0000 (15:44 -0800)
commitfe35e4010567d08064cdf9cff0d1a5e98144af95
tree95ce54189864ccdd58310f1228f38d9b4dff6607
parentbd6cf5f0e7ffe55d2b9ef6d67d5a630078ff34f4
f2fs: fix to dirty inode synchronously

If user change inode's i_flags via ioctl, let's add it into global
dirty list, so that checkpoint can guarantee its persistence before
fsync, it can make checkpoint keeping strong consistency.

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