[PATCH] fix NFS root in 2.4.12

Tim Hockin (thockin@sun.com)
Mon, 15 Oct 2001 19:01:08 -0700


This is a multi-part message in MIME format.
--------------96330A03D885CB4ED39488B6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Linus, Alan,

This one liner fixes NFS root for kernel 2.4.12. Please apply.

Thanks

Tim

-- 
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@sun.com
--------------96330A03D885CB4ED39488B6
Content-Type: text/plain; charset=us-ascii;
 name="nfsroot.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="nfsroot.diff"

diff -ruN dist-2.4.12+patches/fs/super.c cvs-2.4.12+patches/fs/super.c --- dist-2.4.12+patches/fs/super.c Mon Oct 15 10:23:02 2001 +++ cvs-2.4.12+patches/fs/super.c Mon Oct 15 10:23:02 2001 @@ -935,7 +935,7 @@ data = nfs_root_data(); if (!data) goto no_nfs; - vfsmnt = do_kern_mount("nfs", root_mountflags, "/dev/root", data); + vfsmnt = do_kern_mount("nfs", root_mountflags, "/dev/root", NULL, data); if (!IS_ERR(vfsmnt)) { printk ("VFS: Mounted root (%s filesystem).\n", "nfs"); ROOT_DEV = vfsmnt->mnt_sb->s_dev;

--------------96330A03D885CB4ED39488B6--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/