]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: fix to parse temperature correctly in f2fs_get_segment_temp()
authorChao Yu <chao@kernel.org>
Tue, 22 Oct 2024 02:01:49 +0000 (10:01 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 1 Nov 2024 01:24:41 +0000 (01:24 +0000)
commit9395fb09e897dcd96f601715e63018fc5c69cf03
treef4bf94fdaf7dcfa2e698f94a8dd0da6aab80dcf5
parentf10a890308a7cd8794e21f646f09827c6cb4bf5d
f2fs: fix to parse temperature correctly in f2fs_get_segment_temp()

In __get_segment_type(), __get_segment_type_6() may return
CURSEG_COLD_DATA_PINNED or CURSEG_ALL_DATA_ATGC log type, but
following f2fs_get_segment_temp() can only handle persistent
log type, fix it.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/segment.c
fs/f2fs/segment.h