]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block/loop: don't use idr_remove_all()
authorTejun Heo <tj@kernel.org>
Wed, 20 Feb 2013 02:16:03 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:39 +0000 (16:53 +1100)
commit936b3c934be8d520f24f1b653ee3e60e738edcbe
tree573bcb2d3dd82f8300eb5dc46258be54d433c4ca
parentc4dd7f536ca9148ee39e3bea768fc5860a0fd036
block/loop: 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: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/loop.c