patch-2.0.1 linux/drivers/block/ide.c

Next file: linux/drivers/block/loop.c
Previous file: linux/drivers/block/README.md
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/drivers/block/ide.c linux/drivers/block/ide.c
@@ -1794,7 +1794,7 @@
 	unsigned long flags;
 
 	if ((drive = get_info_ptr(inode->i_rdev)) == NULL)
-		return -ENODEV;
+		return -ENXIO;
 	save_flags(flags);
 	cli();
 	while (drive->busy)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov