kernel-ark/drivers/mtd/ubi
Xiaochuan-Xu 7b6c32daec UBI: simplify PEB protection code
UBI has 2 RB-trees to implement PEB protection, which is too
much for simply prevent PEB from being moved for some time.
This patch implements this using lists. The benefits:

1. No need to allocate protection entry on each PEB get.
2. No need to maintain balanced trees and walk them.

Signed-off-by: Xiaochuan-Xu <xiaochuan-xu@cqu.edu.cn>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-12-16 10:09:58 +02:00
..
build.c UBI: return -ENOMEM upon failing vmalloc 2008-12-10 14:28:48 +02:00
cdev.c UBI: remove BKL 2008-09-05 16:29:36 +03:00
debug.c UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
debug.h UBI: fix and re-work debugging stuff 2008-07-24 13:34:45 +03:00
eba.c UBI: handle write errors in WL worker 2008-12-05 13:46:50 +02:00
gluebi.c UBI: fix checkpatch.pl errors and warnings 2008-07-24 13:36:09 +03:00
io.c UBI: fix warnings when debugging is enabled 2008-12-03 13:24:48 +02:00
kapi.c UBI: fix and re-work debugging stuff 2008-07-24 13:34:45 +03:00
Kconfig UBI: improve Kconfig documentation 2008-04-17 11:32:00 +03:00
Kconfig.debug
Makefile
misc.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
scan.c UBI: fix EBADMSG handling 2008-11-06 11:13:02 +02:00
scan.h UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
ubi-media.h UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
ubi.h UBI: simplify PEB protection code 2008-12-16 10:09:58 +02:00
upd.c UBI: fix kernel-doc errors and warnings 2008-07-24 13:36:09 +03:00
vmt.c UBI: fix gcc warning 2008-07-24 13:36:10 +03:00
vtbl.c UBI: print reserved_peb when it is too large 2008-10-09 16:19:04 +03:00
wl.c UBI: simplify PEB protection code 2008-12-16 10:09:58 +02:00