Re: [PATCH v2] f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED

From: Chao Yu
Date: Thu Apr 27 2023 - 05:47:09 EST


On 2023/4/26 0:47, Yangtao Li wrote:
If a file has FI_COMPRESS_RELEASED, all writes for it should not be
allowed.

Fixes: 5fdb322ff2c2 ("f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE")
Signed-off-by: Qi Han <hanqi@xxxxxxxx>
Signed-off-by: Yangtao Li <frank.li@xxxxxxxx>

Oh, I just see v2.

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,