diff options
author | Jan Altenberg <jan.altenberg@linutronix.de> | 2008-03-28 15:13:53 (GMT) |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-17 08:32:02 (GMT) |
commit | cbd8a9d2cd6f576ca41022599341bbd8be1b0b27 (patch) | |
tree | 4b85d8497972adb46b574fc37bb73761c76d04ab /drivers/mtd/ubi/scan.h | |
parent | 6e0c84e37e809e79313043385148020ceb760496 (diff) | |
download | linux-fsl-qoriq-cbd8a9d2cd6f576ca41022599341bbd8be1b0b27.tar.xz |
UBI: initialize static volumes with vol->used_bytes
I came across a problem which seems to be present since:
commit 941dfb07ed91451b1c58626a0d258dfdf468b593
UBI: set correct gluebi device size
ubi_create_gluebi() leaves mtd->size = 0 for static volumes. So even
existing static volumes are initialized with a size of 0.
Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/scan.h')
0 files changed, 0 insertions, 0 deletions