printk("failed\n"); 
if (error == -ENOENT) printk("/initrd does not exist. Ignored.\n"); else printk("failed\n"); 
static void __init handle_initrd(void){	int error;	int pid;	real_root_dev = new_encode_dev(ROOT_DEV);	create_dev("/dev/root.old", Root_RAM0, NULL);	/* mount initrd on rootfs' /root */	mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY);	sys_mkdir("/old", 0700);	root_fd = sys_open("/", 0, 0);	old_fd = sys_open("/old", 0, 0);	/* move initrd over / and chdir/chroot in initrd root */	sys_chdir("/root");	sys_mount(".", "/", NULL, MS_MOVE, NULL);	sys_chroot(".");	mount_devfs_fs ();	pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);	if (pid > 0) {		while (pid != sys_wait4(-1, NULL, 0, NULL))			yield();	}	/* move initrd to rootfs' /old */	sys_fchdir(old_fd);	sys_mount("/", ".", NULL, MS_MOVE, NULL);	/* switch root and cwd back to / of rootfs */	sys_fchdir(root_fd);	sys_chroot(".");	sys_close(old_fd);	sys_close(root_fd);	umount_devfs("/old/dev");	if (new_decode_dev(real_root_dev) == Root_RAM0) {		sys_chdir("/old");		return;	}	ROOT_DEV = new_decode_dev(real_root_dev);	mount_root();	printk(KERN_NOTICE "Trying to move old root to /initrd ... ");	error = sys_mount("/old", "/root/initrd", NULL, MS_MOVE, NULL);	if (!error)		printk("okay\n");	else {		int fd = sys_open("/dev/root.old", O_RDWR, 0);		printk("failed\n");		printk(KERN_NOTICE "Unmounting old root\n");		sys_umount("/old", MNT_DETACH);		printk(KERN_NOTICE "Trying to free ramdisk memory ... ");		if (fd < 0) {			error = fd;		} else {			error = sys_ioctl(fd, BLKFLSBUF, 0);			sys_close(fd);		}		printk(!error ? "okay\n" : "failed\n");	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/f220ab2a5162c35cca6993ea473937cfc962fce4/do_mounts_initrd.c/clean/init/do_mounts_initrd.c