On Thu, Feb 22, 2018 at 8:34 PM, O. Hartmann <[email protected]> wrote:

> Mateusz provided me with this patch, which solved the issue:
>
> Index: sys/kern/vfs_bio.c
> ===================================================================
> --- sys/kern/vfs_bio.c  (revision 329832)
> +++ sys/kern/vfs_bio.c  (working copy)
> @@ -423,7 +423,7 @@
>         lvalue = 0;
>         for (i = 0; i < clean_domains; i++)
>                 lvalue += bdclean[i].bd_bufspace;
> -       return (sysctl_handle_int(oidp, &lvalue, 0, req));
> +       return (sysctl_handle_long(oidp, &lvalue, 0, req));
>  }
>  #endif


Thanks for testing, committed in r329837.


-- 
Mateusz Guzik <mjguzik gmail.com>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to