diff options
author | Chao Yu <yuchao0@huawei.com> | 2021-05-18 17:54:58 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-05-26 07:00:36 -0700 |
commit | 4a67d9b07ac8dce7f1034e0d887f2f4ee00fe118 (patch) | |
tree | 5daa0371946065903e6f86e62a31817edd85b4f9 /fs/f2fs/inline.c | |
parent | e3c548323d32b11d3fba71f993e17b0ccdeca5cb (diff) |
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/inline.c')
0 files changed, 0 insertions, 0 deletions