Commit 7ca912bf authored by Chao Yu's avatar Chao Yu Committed by Joanne Chang
Browse files

UPSTREAM: f2fs: atomic: fix to forbid dio in atomic_file



atomic write can only be used via buffered IO, let's fail direct IO on
atomic_file and return -EOPNOTSUPP.

Change-Id: I263aaa3764cc912c5bd0a5edd2de7d869ff52eab
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>

Bug: 452794646
(cherry picked from commit b2c160f4)
Change-Id: Iccdcb32caf3eaa322439c32563576772bd4d4af6
Signed-off-by: default avatarJoanne Chang <joannechien@google.com>
parent 09edd785
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment