mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 22:38:04 +00:00
7018fe0a81
Import patch from [1] to fix mounting the rootfs over nfs. [1]: http://git.linux-nfs.org/?p=trondmy/nfs-2.6.git;a=commit;h=4251c94833aa516c1fc7a0f8f504a26eadd4b91e Tested-by: Enrico Butera <ebutera@users.berlios.de> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
14 lines
416 B
Diff
14 lines
416 B
Diff
diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c
|
|
index c541093..c4744e1 100644
|
|
--- a/fs/nfs/nfsroot.c
|
|
+++ b/fs/nfs/nfsroot.c
|
|
@@ -87,7 +87,7 @@
|
|
#define NFS_ROOT "/tftpboot/%s"
|
|
|
|
/* Default NFSROOT mount options. */
|
|
-#define NFS_DEF_OPTIONS "udp"
|
|
+#define NFS_DEF_OPTIONS "vers=2,udp,rsize=4096,wsize=4096"
|
|
|
|
/* Parameters passed from the kernel command line */
|
|
static char nfs_root_parms[256] __initdata = "";
|