Commit 354dfc05 authored by Yangtao Li's avatar Yangtao Li Committed by Greg Kroah-Hartman
Browse files

f2fs: allow set compression option of files without blocks



[ Upstream commit e6261beb ]

Files created by truncate have a size but no blocks, so
they can be allowed to set compression option.

Fixes: e1e8debe ("f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl")
Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent add8515d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment