Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b158e3c5 authored by Chao Yu's avatar Chao Yu Committed by Sahitya Tummala
Browse files

f2fs: trigger normal fsync for non-atomic_write file



commit 0adf6a1b796777f5d19a9b7442172016aeb8020a upstream.

If file was not opened with atomic write mode, but user uses atomic write
ioctl to fsync datas, in the flow, we should not fsync that file with
atomic write mode.

Fixes: 608514deba38 ("f2fs: set fsync mark only for the last dnode")
Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Git-commit: c123fc70
Git-repo: https://android.googlesource.com/kernel/common.git


Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 3802fd0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment