f2fs: drop FI_UPDATE_WRITE tag after f2fs_issue_flush
authorChao Yu <yuchao0@huawei.com>
Fri, 29 Sep 2017 05:59:36 +0000 (13:59 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 01:21:46 +0000 (17:21 -0800)
commita815ce9938f4caee132d8fb4f62a119ea08601b5
treeee78c834b3f20c5debca70c65976b28671756a75
parent3257c65707452373d09a5152578cfad550eccfc4
f2fs: drop FI_UPDATE_WRITE tag after f2fs_issue_flush

If we failed to issue flush in ->fsync, we need to keep FI_UPDATE_WRITE
flag to make sure triggering flush in next ->fsync.

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