[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130205153614.GA1508@redhat.com>
Date: Tue, 5 Feb 2013 10:36:14 -0500
From: David Teigland <teigland@...hat.com>
To: Tejun Heo <tj@...nel.org>
Cc: akpm@...ux-foundation.org, rusty@...tcorp.com.au,
linux-kernel@...r.kernel.org,
Christine Caulfield <ccaulfie@...hat.com>,
cluster-devel@...hat.com,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [PATCH] idr: fix a subtle bug in idr_get_next()
On Sat, Feb 02, 2013 at 03:11:35PM -0800, Tejun Heo wrote:
> On Sat, Feb 02, 2013 at 03:10:48PM -0800, Tejun Heo wrote:
> > Fix it by ensuring proceeding to the next slot doesn't carry over the
> > unaligned offset - ie. use round_up(id + 1, slot_distance) instead of
> > id += slot_distance.
> >
> > Signed-off-by: Tejun Heo <tj@...nel.org>
> > Reported-by: David Teigland <teigland@...hat.com>
> > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
>
> David, can you please test whether the patch makes the skipped
> deletion bug go away?
Yes, I've tested, and it works fine now.
Thanks,
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists