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:
parent
09d234643f
commit
31438685ec
@ -430,7 +430,7 @@ main(int argc, char *argv[])
|
|||||||
* struct nfs_args to be passed in via nmount().
|
* struct nfs_args to be passed in via nmount().
|
||||||
*/
|
*/
|
||||||
osversion = getosreldate();
|
osversion = getosreldate();
|
||||||
if (osversion >= 800048) {
|
if (osversion >= 702100) {
|
||||||
if (nmount(iov, iovlen, mntflags))
|
if (nmount(iov, iovlen, mntflags))
|
||||||
err(1, "%s, %s", mntpath, errmsg);
|
err(1, "%s, %s", mntpath, errmsg);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user