Skip to contentSkip to conversation

text-based mount.nfs: Remove support for nfsprog= option

PATCH New Chuck Lever 1 participant 1 message Nov 6, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/5 text-based mount.nfs: Remove support for nfsprog= option

The kernel hasn't supported the underlying parts needed for changing the NFS program number for a very long time.

---

 utils/mount/stropts.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
utils/mount/stropts.c +0 -3
index cf40313..31df51b 100644
@@ -317,9 +317,6 @@ static struct mount_options *rewrite_mount_options(char *str)
 		po_remove_all(options, "port");
 	}
 	nfs_server.pmap.pm_prog = NFS_PROGRAM;
-	option = po_get(options, "nfsprog");
-	if (option)
-		nfs_server.pmap.pm_prog = atoi(option);
 
 	option = po_get(options, "nfsvers");
 	if (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