1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

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.
This commit is contained in:
Craig Rodrigues 2009-06-01 00:40:39 +00:00
parent 09d234643f
commit 31438685ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193191

View File

@ -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 {