2007-11-06 00:55:33

by Chuck Lever III

[permalink] [raw]
Subject: [PATCH 5/5] text-based mount.nfs: Remove support for mountprog= option

The kernel doesn't support the underlying parts needed for changing the
MNT program number.

Signed-off-by: Chuck Lever <[email protected]>
---

utils/mount/stropts.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c
index 31df51b..0c8d3e1 100644
--- a/utils/mount/stropts.c
+++ b/utils/mount/stropts.c
@@ -304,9 +304,6 @@ static struct mount_options *rewrite_mount_options(char *str)
if (option)
mnt_server.pmap.pm_port = atoi(option);
mnt_server.pmap.pm_prog = MOUNTPROG;
- option = po_get(options, "mountprog");
- if (option)
- mnt_server.pmap.pm_prog = atoi(option);
option = po_get(options, "mountvers");
if (option)
mnt_server.pmap.pm_vers = atoi(option);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs