lkml.org 
[lkml]   [2014]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ubi: fix correct rb_tree node comparison in add_vol
Am 24.06.2014 09:25, schrieb Heiko Schocher:
> Commit 604b592e6fd3c98f21435e1181ba7723ffc24715 ("UBI: fix rb_tree node comparison in add_map")
>
> introduced problems with attaching ubi fastmap images,
> created with older kernel.
>
> As in ubi_find_av() from attach.c is
> [...]
> if (vol_id > av->vol_id)
> p = p->rb_left;
> else
> p = p->rb_right;
>
> sync this logic also in add_vol() with this.
>
> With this patch attaching older ubi images works again.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>

Thanks a lot for fixing this!

Acked-by: Richard Weinberger <richard@nod.at>

Thanks,
//richard


\
 
 \ /
  Last update: 2014-06-26 00:01    [W:0.040 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site