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)
commite9110361a9a4e258b072b14bd44eb78cf11453cb
tree7b1048a62c3a6c981af59df7b7569bef9fbd28c2
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
UBI: fix the volumes tree sorting criteria

Commig "604b592 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