projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7945808
)
mount: for NFS use tcp per default rather than udp
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Wed, 4 May 2011 17:03:30 +0000
(19:03 +0200)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Wed, 4 May 2011 17:03:30 +0000
(19:03 +0200)
nfs-utils's mount.nfs uses TCP per default unless explicitly asked for
otherwise. This is also the expected behaviour for NFSv4, so ok there,
too.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index 3e2ba1fabf1f317d40617dce9867a99608833481..6a154e2b288268fc32db3cc063e4de4e33a02dd9 100644
(file)
--- a/
util-linux/mount.c
+++ b/
util-linux/mount.c
@@
-1195,7
+1195,7
@@
static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
noac = 0;
nordirplus = 0;
retry = 10000; /* 10000 minutes ~ 1 week */
- tcp =
0;
+ tcp =
1; /* nfs-utils uses tcp per default */
mountprog = MOUNTPROG;
mountvers = 0;