diff options
Diffstat (limited to 'fs/f2fs/segment.h')
-rw-r--r-- | fs/f2fs/segment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index cd9bd93212ad..e0d6d3abf396 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h | |||
@@ -471,7 +471,7 @@ static inline bool has_not_enough_free_secs(struct f2fs_sb_info *sbi, int freed) | |||
471 | 471 | ||
472 | static inline int utilization(struct f2fs_sb_info *sbi) | 472 | static inline int utilization(struct f2fs_sb_info *sbi) |
473 | { | 473 | { |
474 | return div_u64(valid_user_blocks(sbi) * 100, sbi->user_block_count); | 474 | return div_u64((u64)valid_user_blocks(sbi) * 100, sbi->user_block_count); |
475 | } | 475 | } |
476 | 476 | ||
477 | /* | 477 | /* |