aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/include/array_size.h
diff options
context:
space:
mode:
authorSheng Yong <[email protected]>2024-07-08 12:04:07 +0000
committerJaegeuk Kim <[email protected]>2024-07-09 19:33:50 +0000
commit8c409989678e92e4a737e7cd2bb04f3efb81071a (patch)
tree11f64b413e9ed23bad1d69916b703330c928ea9b /scripts/include/array_size.h
parentf2fs: remove redundant sanity check in sanity_check_inode() (diff)
downloadkernel-8c409989678e92e4a737e7cd2bb04f3efb81071a.tar.gz
kernel-8c409989678e92e4a737e7cd2bb04f3efb81071a.zip
f2fs: fix start segno of large section
get_ckpt_valid_blocks() checks valid ckpt blocks in current section. It counts all vblocks from the first to the last segment in the large section. However, START_SEGNO() is used to get the first segno in an SIT block. This patch fixes that to get the correct start segno. Fixes: 61461fc921b7 ("f2fs: fix to avoid touching checkpointed data in get_victim()") Signed-off-by: Sheng Yong <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'scripts/include/array_size.h')
0 files changed, 0 insertions, 0 deletions