Skip to content

Commit 7c9ee0e

Browse files
Yongpeng YangJaegeuk Kim
authored andcommitted
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 <yangyongpeng@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent 401a303 commit 7c9ee0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/f2fs/f2fs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2875,7 +2875,7 @@ static inline block_t __start_sum_addr(struct f2fs_sb_info *sbi)
28752875
}
28762876

28772877
static inline bool __has_cursum_space(struct f2fs_sb_info *sbi,
2878-
struct f2fs_journal *journal, int size, int type)
2878+
struct f2fs_journal *journal, unsigned int size, int type)
28792879
{
28802880
if (type == NAT_JOURNAL)
28812881
return size <= MAX_NAT_JENTRIES(sbi, journal);

0 commit comments

Comments
 (0)