diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2021-06-18 18:24:04 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-18 18:24:19 +0300 |
commit | 18842e0a4f48564bbed541947abd8131fd0e9734 (patch) | |
tree | 38e80938cb8899ecf5ec17ffae6a1aac5355810c /fs/xfs/xfs_log_cil.c | |
parent | a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48 (diff) | |
download | linux-18842e0a4f48564bbed541947abd8131fd0e9734.tar.xz |
xfs: Fix 64-bit division on 32-bit in xlog_state_switch_iclogs()
On 32-bit (e.g. m68k):
ERROR: modpost: "__udivdi3" [fs/xfs/xfs.ko] undefined!
Fix this by using a uint32_t intermediate, like before.
Reported-by: noreply@ellerman.id.au
Fixes: 7660a5b48fbef958 ("xfs: log stripe roundoff is a property of the log")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_log_cil.c')
0 files changed, 0 insertions, 0 deletions