[MTD] generic: propagate oobavail to MTD partitions
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed May 17 07:59:01 EDT 2006
Commit: ae282d497d5631ce31539717131c760e3872c539
Parent: 599fb3298b70d75c12dbdc4dd30f52c5cf04ea2f
Author: Vitaly Wool <vwool at ru.mvista.com>
AuthorDate: Wed May 17 12:34:27 2006 +0100
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed May 17 12:34:27 2006 +0100
[MTD] generic: propagate oobavail to MTD partitions
'oobavail' parameter of mtd_info structure is now propagated to the MTD
partitions
Signed-off-by: Vitaly Wool <vwool at ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
drivers/mtd/mtdpart.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index 9939591..29ed5ab 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -400,6 +400,7 @@ int add_mtd_partitions(struct mtd_info *
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