summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorSheng Yong <shengyong@oppo.com>2024-07-08 20:04:07 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-03 08:49:48 +0200
commitdf1f8df3e8a787616d1a7a42a0f52a57ea469f34 (patch)
tree90e4a55df4fcae0946c1ac252bdfdc59d266f403 /drivers/watchdog
parentd904d7064fee7dff05314abecdfe952fbcbdb8ea (diff)
downloadlinux-df1f8df3e8a787616d1a7a42a0f52a57ea469f34.tar.gz
linux-df1f8df3e8a787616d1a7a42a0f52a57ea469f34.tar.bz2
linux-df1f8df3e8a787616d1a7a42a0f52a57ea469f34.zip
f2fs: fix start segno of large section
[ Upstream commit 8c409989678e92e4a737e7cd2bb04f3efb81071a ] 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 <shengyong@oppo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions