Commit 7c9ee0ed authored by Yongpeng Yang's avatar Yongpeng Yang Committed by Jaegeuk Kim
Browse files

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: default avatarYongpeng Yang <yangyongpeng@xiaomi.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 401a3034
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);