public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: marcelo@conectiva.com.br
Subject: Patch for initrd on 2.4.21-pre5
Date: Thu, 13 Mar 2003 00:53:28 -0500	[thread overview]
Message-ID: <20030313005328.A29160@devserv.devel.redhat.com> (raw)

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");

             reply	other threads:[~2003-03-13  5:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13  5:53 Pete Zaitcev [this message]
2003-03-13 14:15 ` Patch for initrd on 2.4.21-pre5 Jan Rekorajski
2003-03-13 19:48 ` Willy Tarreau
2003-03-19 19:11 ` Marcelo Tosatti

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=20030313005328.A29160@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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