mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
[ Upstream commit7cd2e5f75b] If a file has FI_COMPRESS_RELEASED, all writes for it should not be allowed. Fixes:5fdb322ff2("f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE") Signed-off-by: Qi Han <hanqi@vivo.com> Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a55fa7ba37
commit
77b23bd5e2
1 changed files with 6 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue