[PATCH] namespaces: utsname: switch to using uts namespaces
[linux-2.6.git] / fs / nfs / nfsroot.c
index c0a754e..1d656a6 100644 (file)
@@ -312,7 +312,7 @@ static int __init root_nfs_name(char *name)
        /* Override them by options set on kernel command-line */
        root_nfs_parse(name, buf);
 
-       cp = system_utsname.nodename;
+       cp = utsname()->nodename;
        if (strlen(buf) + strlen(cp) > NFS_MAXPATHLEN) {
                printk(KERN_ERR "Root-NFS: Pathname for remote directory too long.\n");
                return -1;