linux_dsm_epyc7002/drivers/mtd/ubi
Jan Altenberg cbd8a9d2cd UBI: initialize static volumes with vol->used_bytes
I came across a problem which seems to be present since:

commit 941dfb07ed
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>
2008-04-17 11:32:02 +03:00
..
build.c UBI: fix error printing 2008-04-17 11:31:59 +03:00
cdev.c UBI: implement atomic LEB change ioctl 2008-01-25 16:41:26 +02:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: be verbose when debuggin is enabled 2008-04-17 11:31:58 +03:00
eba.c UBI: handle zero-length case 2008-01-25 16:41:25 +02:00
gluebi.c UBI: initialize static volumes with vol->used_bytes 2008-04-17 11:32:02 +03:00
io.c UBI: be verbose when debuggin is enabled 2008-04-17 11:31:58 +03:00
kapi.c UBI: fix warnings 2008-01-25 16:41:24 +02:00
Kconfig UBI: improve Kconfig documentation 2008-04-17 11:32:00 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
scan.c UBI: add layout volume information 2008-01-25 16:41:25 +02:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi-media.h UBI: make ubi-header.h local 2008-04-17 11:31:58 +03:00
ubi.h UBI: make ubi-header.h local 2008-04-17 11:31:58 +03:00
upd.c UBI: implement atomic LEB change ioctl 2008-01-25 16:41:26 +02:00
vmt.c UBI: silence warning 2008-03-04 11:02:04 +02:00
vtbl.c UBI: mtd/ubi/vtbl.c: fix memory leak 2008-03-04 11:03:09 +02:00
wl.c UBI: fix warnings 2008-01-25 16:41:25 +02:00