diff options
author | Yangtao Li <frank.li@vivo.com> | 2023-04-25 19:47:11 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-05-08 21:18:04 +0300 |
commit | 7cd2e5f75b86a1befa99834f3ed1d735eeff69e6 (patch) | |
tree | f22d19cb8d825f461d8020814012bc3066f411b7 /fs/f2fs/node.c | |
parent | 888ca6edac81e919fa7accb3b4f1d363e3c1e5f8 (diff) | |
download | linux-7cd2e5f75b86a1befa99834f3ed1d735eeff69e6.tar.xz |
f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
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@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>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions