OSDN Git Service

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, 26 Dec 2018 23:16:55 +0000 (15:16 -0800)
commitb32e019049e959ee10ec359893c9dd5d057dad55
tree5027b400abee741deac3ff6bf0a2e3114def6509
parentc0362117c3b87322366865e8db000449e5ec2caf
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