Commit 540abf1e authored by Chao Yu's avatar Chao Yu Committed by Matthias Männich
Browse files

UPSTREAM: f2fs: fix to wait dio completion



It should wait all existing dio write IOs before block removal,
otherwise, previous direct write IO may overwrite data in the
block which may be reused by other inode.

Cc: stable@vger.kernel.org
Change-Id: Icdd6e9a0233431faa88d80055e3973287342c7c4
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 96cfeb03)
parent 65ed3483
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment