svn commit: r193191 - head/sbin/mount_nfs
Craig Rodrigues
rodrigc at FreeBSD.org
Mon Jun 1 00:40:40 UTC 2009
Author: rodrigc
Date: Mon Jun 1 00:40:39 2009
New Revision: 193191
URL: http://svn.freebsd.org/changeset/base/193191
Log:
Code for parsing nmount options in kernel was merged
to stable/7 branch in r190315. So only resort to fallback_mount()
could which passes struct nfs_args to kernel in kernel versions
less than 702100.
Modified:
head/sbin/mount_nfs/mount_nfs.c
Modified: head/sbin/mount_nfs/mount_nfs.c
==============================================================================
--- head/sbin/mount_nfs/mount_nfs.c Sun May 31 22:33:53 2009 (r193190)
+++ head/sbin/mount_nfs/mount_nfs.c Mon Jun 1 00:40:39 2009 (r193191)
@@ -430,7 +430,7 @@ main(int argc, char *argv[])
* struct nfs_args to be passed in via nmount().
*/
osversion = getosreldate();
- if (osversion >= 800048) {
+ if (osversion >= 702100) {
if (nmount(iov, iovlen, mntflags))
err(1, "%s, %s", mntpath, errmsg);
} else {
More information about the svn-src-head
mailing list