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
..
2008-12-16 10:09:58 +02:00
2008-06-04 17:50:17 +01:00
2008-10-09 08:56:01 +02:00
2008-06-04 17:50:17 +01:00
2008-08-01 21:47:47 +01:00
2008-04-22 20:48:12 +01:00
2008-10-21 07:48:38 -04:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-08-02 18:45:18 +01:00