]> git.pld-linux.org Git - packages/kernel.git/blob - kernel-initrd.patch
- added description of djurban's branch
[packages/kernel.git] / kernel-initrd.patch
1 diff -urN linux-2.5.7.orig/init/do_mounts.c linux-2.5.7/init/do_mounts.c
2 --- linux-2.5.7.orig/init/do_mounts.c   Mon Mar 18 21:37:12 2002
3 +++ linux-2.5.7/init/do_mounts.c        Sun Mar 24 12:27:21 2002
4 @@ -826,7 +826,7 @@
5  
6         create_dev("/dev/root", ROOT_DEV, NULL);
7         if (mount_initrd) {
8 -               if (initrd_load() && kdev_same(ROOT_DEV, mk_kdev(RAMDISK_MAJOR, 0))) {
9 +               if (initrd_load() && !kdev_same(ROOT_DEV, mk_kdev(RAMDISK_MAJOR, 0))) {
10                         handle_initrd();
11                         goto out;
12                 }
This page took 0.552944 seconds and 3 git commands to generate.