Tejun Heo a67a380e6f dlm: don't use idr_remove_all()
idr_destroy() can destroy idr by itself and idr_remove_all() is being
deprecated.

The conversion isn't completely trivial for recover_idr_clear() as it's
the only place in kernel which makes legitimate use of idr_remove_all()
w/o idr_destroy().  Replace it with idr_remove() call inside
idr_for_each_entry() loop.  It goes on top so that it matches the
operation order in recover_idr_del().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Christine Caulfield <ccaulfie@redhat.com>
Cc: David Teigland <teigland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-27 19:10:13 -08:00
..
2012-08-08 11:33:43 -05:00
2011-07-15 12:30:43 -05:00
2012-07-16 14:16:19 -05:00
2012-07-16 14:16:19 -05:00
2012-11-01 15:27:24 -05:00
2012-07-16 14:16:19 -05:00
2013-02-27 19:10:13 -08:00
2008-04-21 11:22:28 -05:00
2012-08-08 11:33:49 -05:00
2012-01-04 08:56:31 -06:00
2011-07-12 16:02:09 -05:00
2008-12-23 10:15:40 -06:00
2011-07-20 20:23:19 -04:00
2012-08-08 11:33:49 -05:00
2012-07-16 14:16:19 -05:00
2013-02-27 19:10:13 -08:00
2012-08-08 11:33:49 -05:00
2012-08-08 11:33:49 -05:00
2012-05-02 14:15:27 -05:00
2013-02-04 15:31:22 -06:00
2011-03-10 10:40:00 -06:00
2008-02-04 01:23:43 -06:00