Skip to contentSkip to conversation

umount.nfs: make umount.nfs use UDP by default

PATCH In review Chuck Lever 1 participant 1 message Jul 28, 2007

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

PATCH 5/23 umount.nfs: make umount.nfs use UDP by default

mount.nfs currently uses UDP by default when calling a MNT server. Make umount.nfs do the same.

---

 utils/mount/nfsumount.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
utils/mount/nfsumount.c +0 -1
index 55e1c28..19e9be3 100644
@@ -200,7 +200,6 @@ int _nfsumount(const char *spec, char *opts)
 
 	pmap->pm_prog = MOUNTPROG;
 	pmap->pm_vers = MOUNTVERS_NFSV3;
-	pmap->pm_prot = IPPROTO_TCP;
 	if (opts && (p = strstr(opts, "mountprog=")) && isdigit(*(p+10)))
 		pmap->pm_prog = atoi(p+10);
 	if (opts && (p = strstr(opts, "mountport=")) && isdigit(*(p+10)))

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