]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation
authorChao Yu <chao@kernel.org>
Wed, 7 Aug 2024 10:24:35 +0000 (18:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 21 Aug 2024 00:56:28 +0000 (00:56 +0000)
commitebd3309aec6271c4616573b0cb83ea25e623070a
tree863cfa16f2863c4a83acc48458bcf4133ab5f43a
parenta4d7f2b3238fd5f76b9e6434a0bd5d2e29049cff
f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation

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

Fixes: a46bebd502fe ("f2fs: synchronize atomic write aborts")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c