diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2015-09-24 10:19:09 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-10-21 15:49:19 -0500 |
commit | c646619355d196293daffdbb4fd877c8f5048e49 (patch) | |
tree | 48a5e32f2761e5d46d0ff2f8082a63f165c951c4 /fs/nfs/callback_xdr.c | |
parent | c6fa8e6de3dc420cba092bf155b2ed25bcd537f7 (diff) | |
download | linux-c646619355d196293daffdbb4fd877c8f5048e49.tar.bz2 |
nfsroot: make nfsroot to accept the 1024 bytes long directory name
although NFS_MAXPATHLEN is defined to 1024, nfs client hopes to accept
a 1024 byte path, but nfs_root_parms is limited to 256, and the nfs path
will truncated when a user inputs nfs path from kernel cmdline
enlarge nfs_root_parms to 1024, to make it accept the 1024 bytes long
directory name, since nfs_root_parms is defined as _initdata, it will
be released after system bootup
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions