From: Yongpeng Yang Date: Tue, 13 Jan 2026 15:21:38 +0000 (+0800) Subject: f2fs: change size parameter of __has_cursum_space() to unsigned int X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c9ee0ed2bd4e30192d83de529c9094e18ab6f41;p=thirdparty%2Fkernel%2Fstable.git f2fs: change size parameter of __has_cursum_space() to unsigned int All callers of __has_cursum_space() pass an unsigned int value as the size parameter. Change the parameter type to unsigned int accordingly. Signed-off-by: Yongpeng Yang Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 064164ffa489..47f316ac05a3 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2875,7 +2875,7 @@ static inline block_t __start_sum_addr(struct f2fs_sb_info *sbi) } static inline bool __has_cursum_space(struct f2fs_sb_info *sbi, - struct f2fs_journal *journal, int size, int type) + struct f2fs_journal *journal, unsigned int size, int type) { if (type == NAT_JOURNAL) return size <= MAX_NAT_JENTRIES(sbi, journal);