public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.6 ipconfig for NFS root
@ 2001-08-10 16:25 Wakko Warner
  0 siblings, 0 replies; only message in thread
From: Wakko Warner @ 2001-08-10 16:25 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-10 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-10 16:25 [PATCH] 2.4.6 ipconfig for NFS root Wakko Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox