From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzJMq-0004Et-P0 for linux-mtd@lists.infradead.org; Tue, 24 Jun 2014 05:34:05 +0000 Message-ID: <1403587860.7903.82.camel@sauron.fi.intel.com> Subject: Re: UBI: fix rb_tree node comparison in add_map commit buggy? From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: hs@denx.de Date: Tue, 24 Jun 2014 08:31:00 +0300 In-Reply-To: <53A90BEE.5020209@denx.de> References: <53A7EF04.7040805@denx.de> <53A809A3.30703@denx.de> <53A82077.6090109@nod.at> <53A82609.9090408@denx.de> <53A87AD5.8050305@nod.at> <1403585976.7903.70.camel@sauron.fi.intel.com> <53A90BEE.5020209@denx.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Richard Weinberger , linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2014-06-24 at 07:26 +0200, Heiko Schocher wrote: > Hello Artem, > > Am 24.06.2014 06:59, schrieb Artem Bityutskiy: > > On Mon, 2014-06-23 at 21:07 +0200, Richard Weinberger wrote: > >> I think it would be better to "fix" the whole logic such that low volume ids go into > >> the left rb node instead of the right. > >> Just to avoid further confusion. > >> Artem, do you know why UBI does it the other way around for volume ids? > > > > I do not remember. Probably no particular reason. > > > > I'd suggest to do a quick fix first and submit to Linus for 3.16, and > > then people can do whatever logic streamlining for 3.17, makes sense? > > I posted such a patch, but for some reason, I could not find it in > http://lists.infradead.org/pipermail/linux-mtd/2014-June/date.html > > Here an extract from the header I got, as I was on Cc ... > > From: Heiko Schocher > To: linux-mtd@lists.infradead.org > Cc: Heiko Schocher , > Artem Bityutskiy , > Richard Weinberger , > David Woodhouse , > Brian Norris , > Mike Snitzer , > Wolfgang Denk , > linux-kernel@vger.kernel.org > Subject: [PATCH] ubi: fix correct rb_tree node comparison in add_vol > Date: Mon, 23 Jun 2014 15:27:09 +0200 > Message-Id: <1403530029-12151-1-git-send-email-hs@denx.de> > X-Mailer: git-send-email 1.8.3.1 I do not see it in my @linux.intel.com mailbox either, probably something went wrong on your side? -- Best Regards, Artem Bityutskiy