git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
nfs
/
nfsroot.c
diff --git
a/fs/nfs/nfsroot.c
b/fs/nfs/nfsroot.c
index
8646159
..
a561819
100644
(file)
--- a/
fs/nfs/nfsroot.c
+++ b/
fs/nfs/nfsroot.c
@@
-306,7
+306,7
@@
static int __init root_nfs_name(char *name)
/* Override them by options set on kernel command-line */
root_nfs_parse(name, buf);
/* Override them by options set on kernel command-line */
root_nfs_parse(name, buf);
- cp =
system_utsname.nodename
;
+ cp =
vx_new_uts(nodename)
;
if (strlen(buf) + strlen(cp) > NFS_MAXPATHLEN) {
printk(KERN_ERR "Root-NFS: Pathname for remote directory too long.\n");
return -1;
if (strlen(buf) + strlen(cp) > NFS_MAXPATHLEN) {
printk(KERN_ERR "Root-NFS: Pathname for remote directory too long.\n");
return -1;