svn commit: r221205 - head/sys/fs/nfsclient

John Baldwin jhb at freebsd.org
Fri Apr 29 14:24:37 UTC 2011


On Friday, April 29, 2011 8:30:15 am Rick Macklem wrote:
> Author: rmacklem
> Date: Fri Apr 29 12:30:15 2011
> New Revision: 221205
> URL: http://svn.freebsd.org/changeset/base/221205
> 
> Log:
>   The build was broken by r221190 for 64bit arches like amd64.
>   This patch fixes it.
>   
>   MFC after:	2 weeks
> 
> Modified:
>   head/sys/fs/nfsclient/nfs_clvfsops.c
> 
> Modified: head/sys/fs/nfsclient/nfs_clvfsops.c

Somewhat related.  It seems the vfs_* API used to process nmount-style
mount options, uses 'int' instead of 'size_t' for all of its 'len'
parameters.  I think this is a bug and that it should be fixed to use
size_t instead.  That would let this change be reverted as 'len' could
always be a size_t in this case.

-- 
John Baldwin


More information about the svn-src-head mailing list