lkml.org 
[lkml]   [2001]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] fix NFS root in 2.4.12
    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.comdiff -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;
    \
     
     \ /
      Last update: 2005-03-22 13:08    [W:0.021 / U:0.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site