summaryrefslogtreecommitdiffstats
path: root/kernel/fs/nfs/nfsroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/nfs/nfsroot.c')
-rw-r--r--kernel/fs/nfs/nfsroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/nfs/nfsroot.c b/kernel/fs/nfs/nfsroot.c
index 9bc9f04fb..89a15dbe5 100644
--- a/kernel/fs/nfs/nfsroot.c
+++ b/kernel/fs/nfs/nfsroot.c
@@ -90,7 +90,7 @@
#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 = "";
+static char nfs_root_parms[NFS_MAXPATHLEN + 1] __initdata = "";
/* Text-based mount options passed to super.c */
static char nfs_root_options[256] __initdata = NFS_DEF_OPTIONS;