diff options
| author | Yongpeng Yang <yangyongpeng@xiaomi.com> | 2026-01-13 18:21:38 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-01-27 05:45:58 +0300 |
| commit | 7c9ee0ed2bd4e30192d83de529c9094e18ab6f41 (patch) | |
| tree | a391600725af2e33448579daf24c54e9bab47c6a | |
| parent | 401a3034d3b9f33e0fd085f6964512fe999ba135 (diff) | |
| download | linux-7c9ee0ed2bd4e30192d83de529c9094e18ab6f41.tar.xz | |
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>
| -rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
