Skip to contentSkip to conversation

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

PATCH In review Chuck Lever 1 participant 1 message Jan 15, 2008

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

PATCH 6/6 text-based mount.nfs: Remove support for mountprog= option

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

---

 utils/mount/stropts.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
utils/mount/stropts.c +0 -3
index 31df51b..0c8d3e1 100644
@@ -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);