linux/drivers/mtd/ubi
Boris Brezillon 7b6b749b12 UBI: move the global ech and vidh variables into struct ubi_attach_info
Even if it works fine with those global variables, attaching the
temporary ech and vidh objects used during UBI scan to the
ubi_attach_info object sounds like a more future-proof option.

For example, attaching several UBI devices in parallel is prevented by
this use of global variable. And also because global variables should
be avoided in general.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2016-10-02 22:48:14 +02:00
..
attach.c UBI: move the global ech and vidh variables into struct ubi_attach_info 2016-10-02 22:48:14 +02:00
block.c Minor merge needed, due to function move. 2015-07-01 10:49:25 -07:00
build.c ubi: Fix early logging 2016-07-29 23:31:55 +02:00
cdev.c UBI: use vol->usable_leb_size instead of (ubi->leb_size - vol->data_pad) 2016-10-02 22:48:14 +02:00
debug.c UBI: Silence an unintialized variable warning 2016-05-24 15:24:30 +02:00
debug.h UBI: power cut emulation for testing 2015-04-13 21:05:17 +02:00
eba.c ubi: Make recover_peb power cut aware 2016-06-23 00:29:32 +02:00
fastmap-wl.c ubi: fastmap: Implement produce_free_peb() 2015-10-03 23:25:30 +02:00
fastmap.c UBI: provide helpers to allocate and free aeb elements 2016-10-02 22:48:14 +02:00
gluebi.c ubi: gluebi: Fix double refcounting 2016-07-29 23:31:54 +02:00
io.c ubi: Only read necessary size when reading the VID header 2016-07-29 23:29:44 +02:00
kapi.c ubi: Don't bypass ->getattr() 2016-06-14 10:51:42 +02:00
Kconfig UBI: block: Add CONFIG_BLOCK dependency 2014-03-04 14:49:53 +02:00
Makefile UBI: R/O block driver on top of UBI volumes 2014-02-28 16:29:48 +02:00
misc.c mtd: ubi: Add logging functions ubi_msg, ubi_warn and ubi_err 2016-03-20 21:36:05 +01:00
ubi-media.h UBI: Fix typo in comment 2015-10-03 20:09:41 +02:00
ubi.h UBI: move the global ech and vidh variables into struct ubi_attach_info 2016-10-02 22:48:14 +02:00
upd.c ubi: Fix out of bounds write in volume update code 2016-03-05 21:56:23 +01:00
vmt.c ubi: Make volume resize power cut aware 2016-07-29 23:32:01 +02:00
vtbl.c UBI: provide helpers to allocate and free aeb elements 2016-10-02 22:48:14 +02:00
wl.c ubi: Rework Fastmap attach base code 2016-07-29 23:32:42 +02:00
wl.h UBI: Fastmap: Remove is_fm_block() 2015-03-26 22:47:38 +01:00