]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: change seq_file_ra_mul and max_io_bytes to unsigned int
authorYongpeng Yang <yangyongpeng@xiaomi.com>
Wed, 7 Jan 2026 02:33:47 +0000 (10:33 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 7 Jan 2026 03:17:09 +0000 (03:17 +0000)
commit071e50d61cf2474bec724c10bb1ae8082ef6c237
tree24f39de6495eeed68e177c953cb8c0bd7f08c981
parent98ea0039dbfdd00e5cc1b9a8afa40434476c0955
f2fs: change seq_file_ra_mul and max_io_bytes to unsigned int

{struct file_ra_state}->ra_pages and {struct bio}->bi_iter.bi_size is
defined as unsigned int, so values of seq_file_ra_mul and max_io_bytes
exceeding UINT_MAX are meaningless.

Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h