Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 00:40:39 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193191 - head/sbin/mount_nfs
Message-ID:  <200906010040.n510edH2059058@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {



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