projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599fb32
)
[MTD] generic: propagate oobavail to MTD partitions
author
Vitaly Wool
<vwool@ru.mvista.com>
Wed, 17 May 2006 11:34:27 +0000
(12:34 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Wed, 17 May 2006 11:34:27 +0000
(12:34 +0100)
'oobavail' parameter of mtd_info structure is now propagated to the MTD
partitions
Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdpart.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdpart.c
b/drivers/mtd/mtdpart.c
index
9939591
..
29ed5ab
100644
(file)
--- a/
drivers/mtd/mtdpart.c
+++ b/
drivers/mtd/mtdpart.c
@@
-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;