public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: Tim Hockin <thockin@sun.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	alan@redhat.com, torvalds@transmeta.com
Subject: Re: [PATCH] fix NFS root in 2.4.12
Date: Tue, 16 Oct 2001 15:21:56 +1000	[thread overview]
Message-ID: <20387.1003209716@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Mon, 15 Oct 2001 19:01:08 MST." <3BCB94E4.AB6703D9@sun.com>

On Mon, 15 Oct 2001 19:01:08 -0700, 
Tim Hockin <thockin@sun.com> wrote:
>This one liner fixes NFS root for kernel 2.4.12.  Please apply.
>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;

XFS only.  Fixed in XFS CVS tree now.


      parent reply	other threads:[~2001-10-16  5:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-16  2:01 [PATCH] fix NFS root in 2.4.12 Tim Hockin
2001-10-16  2:09 ` Alexander Viro
2001-10-16  2:24   ` Tim Hockin
2001-10-16  5:21 ` Keith Owens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20387.1003209716@kao2.melbourne.sgi.com \
    --to=kaos@sgi.com \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thockin@sun.com \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox