mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
f2fs: fix to relocate check condition in f2fs_fallocate()
compress and pinfile flag should be checked after inode lock held to avoid race condition, fix it. Fixes:4c8ff7095b("f2fs: support data compression") Fixes:5fed0be858("f2fs: do not allow partial truncation on pinned file") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
bd9ae4ae9e
commit
278a6253a6
1 changed files with 11 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue