diff options
author | Chao Yu <yuchao0@huawei.com> | 2021-05-18 11:54:58 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-05-26 16:00:36 +0200 |
commit | 4a67d9b07ac8dce7f1034e0d887f2f4ee00fe118 (patch) | |
tree | 5daa0371946065903e6f86e62a31817edd85b4f9 /fs/f2fs/sysfs.c | |
parent | f2fs: let's allow compression for mmap files (diff) | |
download | linux-4a67d9b07ac8dce7f1034e0d887f2f4ee00fe118.tar.xz linux-4a67d9b07ac8dce7f1034e0d887f2f4ee00fe118.zip |
f2fs: compress: fix to disallow temp extension
This patch restricts to configure compress extension as format of:
[filename + '.' + extension]
rather than:
[filename + '.' + extension + (optional: '.' + temp extension)]
in order to avoid to enable compression incorrectly:
1. compress_extension=so
2. touch file.soa
3. touch file.so.tmp
Fixes: 4c8ff7095bef ("f2fs: support data compression")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/sysfs.c')
0 files changed, 0 insertions, 0 deletions