Chao Yu 4a67d9b07a 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>
2021-05-26 07:00:36 -07:00
..
2021-04-10 10:36:39 -07:00
2021-01-24 14:27:20 +01:00
2021-05-14 11:22:08 -07:00
2021-04-10 10:36:39 -07:00
2021-03-30 18:48:56 -07:00
2021-01-27 15:20:07 -08:00
2021-05-04 18:03:38 -07:00
2021-05-04 18:03:38 -07:00
2021-04-10 10:36:39 -07:00