mtd/drivers/mtd/maps lubbock-flash.c,1.5,1.6

David Woodhouse dwmw2 at infradead.org
Fri May 16 13:25:34 EDT 2003


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

Modified Files:
	lubbock-flash.c 
Log Message:
del_mtd_partitions even when we used the static ones


Index: lubbock-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/lubbock-flash.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- lubbock-flash.c	16 May 2003 16:07:22 -0000	1.5
+++ lubbock-flash.c	16 May 2003 17:25:31 -0000	1.6
@@ -131,7 +131,7 @@
 		if (!mymtds[i])
 			continue;
 
-		if (nr_parsed_parts[i])
+		if (nr_parsed_parts[i] || !i)
 			del_mtd_partitions(mymtds[i]);
 		else
 			del_mtd_device(mymtds[i]);			




More information about the linux-mtd-cvs mailing list