]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm: don't use idr_remove_all()
authorTejun Heo <tj@kernel.org>
Thu, 7 Feb 2013 01:28:00 +0000 (12:28 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:25 +0000 (16:47 +1100)
commitcc396dc5206334a051566df638a2fbfcfecb9534
treedd2b39abeeef9367f5efecd843a1b454a9473320
parentb47574dbc415d2bbbc7f5f9200d2dc44ee4cf7a3
dm: don't use idr_remove_all()

idr_destroy() can destroy idr by itself and idr_remove_all() is being
deprecated.  Drop its usage.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Alasdair Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/md/dm.c