]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UBI: fix rb_tree node comparison in add_map
authorMike Snitzer <snitzer@redhat.com>
Fri, 21 Mar 2014 19:54:03 +0000 (15:54 -0400)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 13 May 2014 10:47:23 +0000 (13:47 +0300)
commit604b592e6fd3c98f21435e1181ba7723ffc24715
treede07c5903f48c540d45462cd5e8efce64baf636a
parent0da846f42ffa0b6597484d1d9ba92755bfc03018
UBI: fix rb_tree node comparison in add_map

The comparisons used in add_vol() shouldn't be identical.  Pretty sure
the following is correct but it is completely untested.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/fastmap.c