svn commit: r325528 - head/sys/vm

Mark Johnston markj at FreeBSD.org
Wed Nov 8 02:06:18 UTC 2017


On Wed, Nov 08, 2017 at 01:53:03AM +0000, Mark Johnston wrote:
> Author: markj
> Date: Wed Nov  8 01:53:03 2017
> New Revision: 325528
> URL: https://svnweb.freebsd.org/changeset/base/325528
> 
> Log:
>   Correct the type of foff.
>   
>   No functional change intended.

Sorry for not clarifying the second sentence. vm_offset_t is 32 bits
wide on some architectures, while vm_ooffset_t is always 64 bits wide.
However, foff is only used when allocating a vnode pager with
vm_pager_allocate(), and vnode_pager_alloc()'s "offset" parameter is
unused. So the bug was real, but had no effect.


More information about the svn-src-all mailing list