summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.14.69/nfsv3-tcp.patch
blob: 68ed95b087f158d3592bc68b6f4492e7401b4976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur linux-3.13.11.orig/fs/nfs/nfsroot.c linux-3.13.11/fs/nfs/nfsroot.c
--- linux-3.13.11.orig/fs/nfs/nfsroot.c	2014-04-23 01:49:33.000000000 +0200
+++ linux-3.13.11/fs/nfs/nfsroot.c	2014-05-13 16:09:25.000000000 +0200
@@ -87,7 +87,7 @@
 #define NFS_ROOT		"/tftpboot/%s"
 
 /* Default NFSROOT mount options. */
-#define NFS_DEF_OPTIONS		"vers=2,udp,rsize=4096,wsize=4096"
+#define NFS_DEF_OPTIONS		"nfsvers=3,proto=tcp,rsize=4096,wsize=4096"
 
 /* Parameters passed from the kernel command line */
 static char nfs_root_parms[256] __initdata = "";