Commit 987458be authored by Chao Yu's avatar Chao Yu Committed by Jianan Huang
Browse files

UPSTREAM: f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation



We should always truncate pagecache while truncating on-disk data.

Fixes: a46bebd5 ("f2fs: synchronize atomic write aborts")

Bug: 372260490
Bug: 390518232
Change-Id: I46e34ae523db44034ab37a417dd68d276c53b1a0
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit ebd3309a)
(cherry picked from commit f0e72502)
parent d1c7ad56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment