]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: fix to update upper_p in __get_secs_required() correctly
authorChao Yu <chao@kernel.org>
Thu, 24 Jul 2025 08:01:42 +0000 (16:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:05:07 +0000 (12:05 +0200)
commit1dadc382d4f11f1615918fcea1260befe88cb33a
treebfe4d9c02022edc95d59a0a9a1d40a89fd36cd76
parenteb69e69a5ae6c8350957893b5f68bd55b1565fb2
f2fs: fix to update upper_p in __get_secs_required() correctly

[ Upstream commit 6840faddb65683b4e7bd8196f177b038a1e19faf ]

Commit 1acd73edbbfe ("f2fs: fix to account dirty data in __get_secs_required()")
missed to calculate upper_p w/ data_secs, fix it.

Fixes: 1acd73edbbfe ("f2fs: fix to account dirty data in __get_secs_required()")
Cc: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/segment.h