Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae282d49 authored by Vitaly Wool's avatar Vitaly Wool Committed by David Woodhouse
Browse files

[MTD] generic: propagate oobavail to MTD partitions



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

Signed-off-by: default avatarVitaly Wool <vwool@ru.mvista.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 599fb329
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -400,6 +400,7 @@ int add_mtd_partitions(struct mtd_info *master,
		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;