diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-07-04 09:14:42 -0400 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-07-04 09:14:42 -0400 |
commit | 07929dcb963786512c760dd3ecd148d89295e7e5 (patch) | |
tree | f5db01392ebb968b4c8acb5a6b3b03a833bfcb02 /init | |
parent | c2d9b8387bce8b4a0fd402fab7dc1319d11a418d (diff) | |
parent | 19f7241a3b087bbf4dd107c979608fdb56c83a09 (diff) |
Automatic merge with /usr/src/ntfs-2.6.git.
Diffstat (limited to 'init')
-rw-r--r-- | init/do_mounts_initrd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 4def882d0b..a05cabd0fd 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c | |||
@@ -86,7 +86,10 @@ static void __init handle_initrd(void) | |||
86 | printk("okay\n"); | 86 | printk("okay\n"); |
87 | else { | 87 | else { |
88 | int fd = sys_open("/dev/root.old", O_RDWR, 0); | 88 | int fd = sys_open("/dev/root.old", O_RDWR, 0); |
89 | printk("failed\n"); | 89 | if (error == -ENOENT) |
90 | printk("/initrd does not exist. Ignored.\n"); | ||
91 | else | ||
92 | printk("failed\n"); | ||
90 | printk(KERN_NOTICE "Unmounting old root\n"); | 93 | printk(KERN_NOTICE "Unmounting old root\n"); |
91 | sys_umount("/old", MNT_DETACH); | 94 | sys_umount("/old", MNT_DETACH); |
92 | printk(KERN_NOTICE "Trying to free ramdisk memory ... "); | 95 | printk(KERN_NOTICE "Trying to free ramdisk memory ... "); |