mtd/drivers/mtd mtd_blkdevs.c,1.8,1.9

David Woodhouse dwmw2 at infradead.org
Tue May 20 10:36:24 EDT 2003


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv19466

Modified Files:
	mtd_blkdevs.c 
Log Message:
comment the second #if 0

Index: mtd_blkdevs.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mtd_blkdevs.c	20 May 2003 14:30:47 -0000	1.8
+++ mtd_blkdevs.c	20 May 2003 14:36:21 -0000	1.9
@@ -150,7 +150,7 @@
 	if (!dev)
 		goto out;
 
-#if 0
+#if 0 /* Does it prevent us from opening a partition which doesn't exist */
 	if (!tr->blkcore_priv->part_table[minor_nr].nr_sects) {
 		ret = -ENODEV;
 		goto out;




More information about the linux-mtd-cvs mailing list