diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index 19cdf50462..a13b978cba 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -116,7 +116,9 @@ uint64_t __udivdi3(uint64_t dividend, uint64_t divisor) } else d = divisor; - return do_div(dividend, d); + do_div(dividend, d); + + return dividend; #endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */ } EXPORT_SYMBOL(__udivdi3);