diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-08-04 06:33:54 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-08-05 14:18:08 +0300 |
commit | 912f0d6580e743eecf908f5566cc064b63c55908 (patch) | |
tree | 5d76b80ff6c33f521536a3184fea31a4f8d9682b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dbf8e63f48af48f3f0a069fc971c9826312dbfc1 (diff) | |
download | linux-912f0d6580e743eecf908f5566cc064b63c55908.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions