android_kernel_xiaomi_sm8350/drivers/mtd/ubi
Artem Bityutskiy 9f961b5756 UBI: add UBI control device
This patch is a preparation to make UBI devices dynamic. It
adds an UBI control device which has dynamically allocated
major number and registers itself as "ubi_ctrl". It does not
do anything so far. The idea is that this device will allow
to attach/detach MTD devices from userspace.

This is symilar to what the Linux device mapper has.

The next things to do are:
* Fix UBI, because it now assumes UBI devices cannot go away
* Implement control device ioctls which will attach/detach MTD
  devices

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:17 +02:00
..
build.c UBI: add UBI control device 2007-12-26 19:15:17 +02:00
cdev.c UBI: add UBI control device 2007-12-26 19:15:17 +02:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: add PID to debugging prints 2007-12-26 19:15:16 +02:00
eba.c UBI: bugfix: protect from volume removal 2007-12-26 19:15:16 +02:00
gluebi.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
io.c UBI: fix error code in ubi_io_read() 2007-12-26 19:15:13 +02:00
kapi.c UBI: introduce volume refcounting 2007-12-26 19:15:16 +02:00
Kconfig
Kconfig.debug
Makefile
misc.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
scan.c Merge branch 'master' of git://git.infradead.org/~dedekind/ubi-2.6 2007-10-14 14:29:00 +01:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: add UBI control device 2007-12-26 19:15:17 +02:00
upd.c UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
vmt.c UBI: tweak volumes locking some more 2007-12-26 19:15:16 +02:00
vtbl.c UBI: fix comment 2007-12-26 19:15:16 +02:00
wl.c UBI: fix comment 2007-12-26 19:15:16 +02:00