diff options
author | Keoseong Park <keosung.park@samsung.com> | 2021-09-27 08:06:48 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-10-12 01:15:06 +0200 |
commit | 011e0868e0cf1237675b22e36fffa958fb08f46e (patch) | |
tree | 42f12cd03d6218d8cfd85ea3a9f45a48b05b2580 /.gitignore | |
parent | f2fs: fix up f2fs_lookup tracepoints (diff) | |
download | linux-011e0868e0cf1237675b22e36fffa958fb08f46e.tar.xz linux-011e0868e0cf1237675b22e36fffa958fb08f46e.zip |
f2fs: fix to use WHINT_MODE
Since active_logs can be set to 2 or 4 or NR_CURSEG_PERSIST_TYPE(6),
it cannot be set to NR_CURSEG_TYPE(8).
That is, whint_mode is always off.
Therefore, the condition is changed from NR_CURSEG_TYPE to NR_CURSEG_PERSIST_TYPE.
Cc: Chao Yu <chao@kernel.org>
Fixes: d0b9e42ab615 (f2fs: introduce inmem curseg)
Reported-by: tanghuan <tanghuan@vivo.com>
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Signed-off-by: Fengnan Chang <changfengnan@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions