Re: [RFC PATCH] UBI: fix rb_tree node comparison in add_map
From: Richard Weinberger
Date: Fri Mar 21 2014 - 19:57:31 EST
Am 21.03.2014 20:54, schrieb Mike Snitzer:
> 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@xxxxxxxxxx>
> ---
> drivers/mtd/ubi/fastmap.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> NOTE: I stumbled upon this code while implementing some rb_tree code
> (and looking for some existing rb_tree code as a reference).
Thanks a lot for pointing this out!
Acked-by: Richard Weinberger <richard@xxxxxx>
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/