]> git.pld-linux.org Git - packages/kernel.git/blob - linux-2.4.20-initrd-close-fds.patch
- fix unresolved symbols in ipv6 netfilter
[packages/kernel.git] / linux-2.4.20-initrd-close-fds.patch
1 The initrd refuses to work for me without the attached patch
2 (actually, initrd works, but nothing else does: console is hosed).
3 I did not see anything on the list. Am I the only one who
4 uses initrd?
5
6 -- Pete
7
8 --- linux-2.4.21-pre5/init/do_mounts.c  2003-03-12 21:21:05.000000000 -0800
9 +++ linux-2.4.21-pre5-nip/init/do_mounts.c      2003-03-12 21:43:03.000000000 -0800
10 @@ -813,6 +813,8 @@
11         sys_fchdir(root_fd);
12         sys_chroot(".");
13         sys_umount("/old/dev", 0);
14 +       close(old_fd);
15 +       close(root_fd);
16  
17         if (real_root_dev == ram0) {
18                 sys_chdir("/old");
19 -
20 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
21 the body of a message to majordomo@vger.kernel.org
22 More majordomo info at  http://vger.kernel.org/majordomo-info.html
23 Please read the FAQ at  http://www.tux.org/lkml/
This page took 0.085078 seconds and 3 git commands to generate.