aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorWang Xiaojun <wangxiaojun11@huawei.com>2021-07-09 16:34:53 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-07-13 16:11:08 -0700
commit5417c98c12f6eeb1252130bcea3b943f5e273be7 (patch)
tree4c0a783d1177d35ed171ed1c9286fa8b1d031847 /fs/f2fs/gc.c
parentf2fs: compress: fix to set zstd compress level correctly (diff)
downloadlinux-dev-5417c98c12f6eeb1252130bcea3b943f5e273be7.tar.xz
linux-dev-5417c98c12f6eeb1252130bcea3b943f5e273be7.zip
f2fs: avoid to create an empty string as the extension_list
When creating a file, we need to set the temperature based on extension_list. If the empty string is a valid extension_list, the is_extension_exist will always returns true, which affects the separation of hot and cold. Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions