diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-08-03 20:33:54 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-08-05 04:18:08 -0700 |
commit | 912f0d6580e743eecf908f5566cc064b63c55908 (patch) | |
tree | 5d76b80ff6c33f521536a3184fea31a4f8d9682b /arch/ia64/kernel/palinfo.c | |
parent | dbf8e63f48af48f3f0a069fc971c9826312dbfc1 (diff) |
f2fs: do not set compression bit if kernel doesn't support
If kernel doesn't have CONFIG_F2FS_FS_COMPRESSION, a file having FS_COMPR_FL via
ioctl(FS_IOC_SETFLAGS) is unaccessible due to f2fs_is_compress_backend_ready().
Let's avoid it.
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch/ia64/kernel/palinfo.c')
0 files changed, 0 insertions, 0 deletions