public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wakko Warner <wakko@animx.eu.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.6 ipconfig for NFS root
Date: Fri, 10 Aug 2001 12:25:32 -0400	[thread overview]
Message-ID: <20010810122532.B15114@animx.eu.org> (raw)

I tried this on 2.4.6, 2.4.7 and 2.2.19.  No problems that I could see.

Comments?

--- ../2.4.6-orig/net/ipv4/ipconfig.c	Tue Aug  7 10:02:21 2001
+++ 2.4.6/net/ipv4/ipconfig.c	Tue Aug  7 09:34:54 2001
@@ -1093,7 +1093,11 @@
 	proc_net_create("pnp", 0, pnp_get_info);
 #endif /* CONFIG_PROC_FS */
 
-	if (!ic_enable)
+	if (!ic_enable
+#if defined(IPCONFIG_DYNAMIC) && defined(CONFIG_ROOT_NFS)
+	    && ROOT_DEV != MKDEV(UNNAMED_MAJOR, 255)
+#endif
+	   )
 		return 0;
 
 	DBG(("IP-Config: Entered.\n"));


-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

                 reply	other threads:[~2001-08-10 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010810122532.B15114@animx.eu.org \
    --to=wakko@animx.eu.org \
    --cc=linux-kernel@vger.kernel.org \
    /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