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)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Jul 2025 16:36:20 +0000 (16:36 +0000)
commit6840faddb65683b4e7bd8196f177b038a1e19faf
tree3e8702be9cf0796c3b5c0006484dccab7e0c19ab
parent40aa9e1223fd38e65ac72373e642c7638a3b4752
f2fs: fix to update upper_p in __get_secs_required() correctly

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>
fs/f2fs/segment.h