mtd/drivers/mtd mtdpart.c,1.55,1.56

Vitaly Wool vwool at ru.mvista.com
Tue Nov 29 11:00:26 EST 2005


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

Modified Files:
	mtdpart.c 
Log Message:
[MTD] generic: propagate oobavail to MTD partitions

'oobavail' parameter of mtd_info structure is now propagated to the MTD partitions

From: Vitaly Wool <vwool at ru.mvista.com>
Signed-off-by: Vitaly Wool <vwool at ru.mvista.com>




Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- mtdpart.c	7 Nov 2005 11:14:20 -0000	1.55
+++ mtdpart.c	29 Nov 2005 16:00:23 -0000	1.56
@@ -400,6 +400,7 @@
 		slave->mtd.size = parts[i].size;
 		slave->mtd.oobblock = master->oobblock;
 		slave->mtd.oobsize = master->oobsize;
+		slave->mtd.oobavail = master->oobavail;
 		slave->mtd.ecctype = master->ecctype;
 		slave->mtd.eccsize = master->eccsize;
 





More information about the linux-mtd-cvs mailing list