Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2008 09:41:22 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient nfs_vfsops.c
Message-ID:  <200803050941.m259fNXF029941@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rodrigc     2008-03-05 09:41:22 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_vfsops.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803050941.m259fNXF029941>