]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: fix the volumes tree sorting criteria
authorHeiko Schocher <hs@denx.de>
Tue, 24 Jun 2014 07:25:18 +0000 (09:25 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 1 Jul 2014 06:23:03 +0000 (09:23 +0300)
commit72983bd9ba9fa06af5c744d118ffb80088fa0c67
tree7b1048a62c3a6c981af59df7b7569bef9fbd28c2
parentdad65f214dcb12470d80fac0c10a00cc171b7834
UBI: fix the volumes tree sorting criteria

Commig "3f1c689 UBI: fix rb_tree node comparison in add_map"
broke fastmap backward compatibility and older fastmap images
cannot be mounted anymore. The reason is that it changes the
volumes RB-tree sorting criteria. This patch fixes the problem.

Artem: re-write the commit message

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/fastmap.c