cvs commit: src/sys/nfsclient nfs_vfsops.c
rodrigc at FreeBSD.org
Wed Mar 5 09:41:24 UTC 2008
rodrigc 2008-03-05 09:41:22 UTC
FreeBSD src repository
In nfs_mount(), default initialize struct nfs_args
the same way that it is default initialized in revision 1.77 of mount_nfs.c.
Right now, this is a no-op, because currently we initialize
struct nfs_args in mount_nfs in userspace, and pass it
down into the kernel via nmount(), so we overwrite whatever we initialize
here with the value passed in from userspace.
However, this lays the groundwork for moving away from passing
struct nfs_args from userspace to kernel via nmount(), so that we
can instead pass string mount options via nmount() which can be parsed in
the kernel. This will make it easier to add new NFS mount options.
Revision Changes Path
1.201 +25 -1 src/sys/nfsclient/nfs_vfsops.c
More information about the cvs-src