From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Barry Date: Thu, 28 Oct 2004 07:23:17 +0000 Subject: Re: chicken/egg between pipefs and initramfs/hotplug Message-Id: <200410280923.17344.bobb@absamail.co.za> List-Id: References: <1098729008.19348.80.camel@tubarao> In-Reply-To: <1098729008.19348.80.camel@tubarao> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Thayne - > you wrote: > > It appears that linux/init/main.c:init() has a chicken/egg problem... > Andrew Morton replied: > That's a bit sad. =A0Does this fix it? >=20 > --- 25/fs/pipe.c~a=A0=A0=A0=A0=A0=A0Tue Oct 26 16:28:44 2004 > +++ 25-akpm/fs/pipe.c=A0=A0=A0Tue Oct 26 16:28:52 2004 > @@ -718,5 +718,5 @@ static void __exit exit_pipe_fs(void) > =A0=A0=A0=A0=A0=A0=A0=A0mntput(pipe_mnt); > =A0} > =A0 > -module_init(init_pipe_fs) > +fs_initcall(init_pipe_fs) > =A0module_exit(exit_pipe_fs) > _ >=20 Did that patch work for you? I tried it (on vanilla 2.6.10-rc1 with simple "make bzImage"), but compilation failed: CC fs/pipe.o fs/pipe.c:722: parse error before "static" make[1]: *** [fs/pipe.o] Error 1 make: *** [fs] Error 2 Thanks, Bob Barry ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=CCk _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel