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

2013-01-28 Thread David Teigland
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

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

2013-01-28 Thread David Teigland
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

[PATCH 09/14] dlm: use idr_for_each_entry() in recover_idr_clear() error path

2013-01-25 Thread Tejun Heo
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 Cc: Christine Caulfield Cc:

[PATCH 09/14] dlm: use idr_for_each_entry() in recover_idr_clear() error path

2013-01-25 Thread Tejun Heo
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 t...@kernel.org Cc: Christine