kernel-ark/drivers/mtd/ubi
Richard Weinberger 4a59c797a1 UBI: fix nameless volumes handling
Currently it's possible to create a volume without a name. E.g:
ubimkvol -n 32 -s 2MiB -t static /dev/ubi0 -N ""

After that vtbl_check() will always fail because it does not permit
empty strings.

Cc: stable@kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
2012-01-15 15:06:08 +02:00
..
build.c mtd: introduce mtd_can_have_bb helper 2012-01-09 18:26:24 +00:00
cdev.c UBI: fix nameless volumes handling 2012-01-15 15:06:08 +02:00
debug.c mtd: introduce mtd_read interface 2012-01-09 18:25:19 +00:00
debug.h UBI: fix debugging messages 2012-01-11 18:35:53 +02:00
eba.c UBI: fix missing scrub when there is a bit-flip 2011-11-30 17:43:42 +05:30
gluebi.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
io.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
kapi.c mtd: do not use mtd->sync directly 2012-01-09 18:26:21 +00:00
Kconfig UBI: do not select KALLSYMS_ALL 2011-04-05 11:08:59 +03:00
Makefile
misc.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.h
ubi-media.h UBI: use __packed instead of __attribute__((packed)) 2011-04-14 11:34:41 +03:00
ubi.h UBI: fix missing scrub when there is a bit-flip 2011-11-30 17:43:42 +05:30
upd.c
vmt.c mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:11 -04:00
vtbl.c UBI: make vid_hdr non-static 2012-01-10 10:59:01 +02:00
wl.c UBI: fix use-after-free on error path 2012-01-05 11:19:19 +02:00