From: Yongpeng Yang <[email protected]>

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 <[email protected]>
---
 fs/f2fs/f2fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index bc666cfa83d4..1f4698a7b72f 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -572,7 +572,7 @@ static inline int update_sits_in_cursum(struct f2fs_journal 
*journal, int i)
 }
 
 static inline bool __has_cursum_space(struct f2fs_journal *journal,
-                                                       int size, int type)
+                                               unsigned int size, int type)
 {
        if (type == NAT_JOURNAL)
                return size <= MAX_NAT_JENTRIES(journal);
-- 
2.43.0



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to