Commit 603c0c3a authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Greg Kroah-Hartman
Browse files

f2fs: do not allow partial truncation on pinned file



[ Upstream commit 5fed0be8 ]

If the pinned file has a hole by partial truncation, application that has
the block map will be broken.

Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 278a6253 ("f2fs: fix to relocate check condition in f2fs_fallocate()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4f0750bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment