f2fs: fix to check warm_data_age_threshold
authorYangtao Li <frank.li@vivo.com>
Tue, 17 Jan 2023 13:24:42 +0000 (21:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 31 Jan 2023 18:47:45 +0000 (10:47 -0800)
commit9b13a8662ea61430005d3de3fc1d73e383b1ce5a
tree420e740c34bae5817152ed099931946083f2cfc8
parentb1c5ef26e4e80277641afcfedffe598c3023c095
f2fs: fix to check warm_data_age_threshold

hot_data_age_threshold is a non-zero positive number, and
condition 2 includes condition 1, so there is no need to
additionally judge whether t is 0. And let's remove it.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c