public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch for initrd on 2.4.21-pre5
@ 2003-03-13  5:53 Pete Zaitcev
  2003-03-13 14:15 ` Jan Rekorajski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pete Zaitcev @ 2003-03-13  5:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: marcelo

The initrd refuses to work for me without the attached patch
(actually, initrd works, but nothing else does: console is hosed).
I did not see anything on the list. Am I the only one who
uses initrd?

-- Pete

--- linux-2.4.21-pre5/init/do_mounts.c	2003-03-12 21:21:05.000000000 -0800
+++ linux-2.4.21-pre5-nip/init/do_mounts.c	2003-03-12 21:43:03.000000000 -0800
@@ -813,6 +813,8 @@
 	sys_fchdir(root_fd);
 	sys_chroot(".");
 	sys_umount("/old/dev", 0);
+	close(old_fd);
+	close(root_fd);
 
 	if (real_root_dev == ram0) {
 		sys_chdir("/old");

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-19 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-13  5:53 Patch for initrd on 2.4.21-pre5 Pete Zaitcev
2003-03-13 14:15 ` Jan Rekorajski
2003-03-13 19:48 ` Willy Tarreau
2003-03-19 19:11 ` Marcelo Tosatti

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