Re: [PATCH 09/14] dlm: use idr_for_each_entry() inrecover_idr_clear() error path

From: David Teigland
Date: Mon Jan 28 2013 - 10:55:48 EST


On Fri, Jan 25, 2013 at 05:31:07PM -0800, Tejun Heo wrote:
> Convert recover_idr_clear() to use idr_for_each_entry() instead of
> idr_for_each(). It's somewhat less efficient this way but it
> shouldn't matter in an error path. This is to help with deprecation
> of idr_remove_all().
>
> Only compile tested.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Christine Caulfield <ccaulfie@xxxxxxxxxx>
> Cc: David Teigland <teigland@xxxxxxxxxx>
> Cc: cluster-devel@xxxxxxxxxx
> ---
> This patch depends on an earlier idr patch and I think it would be
> best to route these together through -mm. Christine, David, can you
> please ack this?

Ack

--
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/