diff options
author | Chao Yu <chao@kernel.org> | 2024-02-25 14:36:28 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-03-04 09:51:51 -0800 |
commit | 7324858237829733dec9c670170df2377c5ca6e2 (patch) | |
tree | 4854011d3ec2ff605edd43d6d56bfd0e66ebcced /drivers/base | |
parent | 9ddabae70a67b6fd6d5c7f96dba95a7ce26e7dce (diff) | |
download | linux-7324858237829733dec9c670170df2377c5ca6e2.tar.gz linux-7324858237829733dec9c670170df2377c5ca6e2.tar.bz2 linux-7324858237829733dec9c670170df2377c5ca6e2.zip |
f2fs: fix to use correct segment type in f2fs_allocate_data_block()
@type in f2fs_allocate_data_block() indicates log header's type, it
can be CURSEG_COLD_DATA_PINNED or CURSEG_ALL_DATA_ATGC, rather than
type of data/node, however IS_DATASEG()/IS_NODESEG() only accept later
one, fix it.
Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions