]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Wed, 20 Feb 2013 02:16:10 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:43 +0000 (16:53 +1100)
commit1f6239e577db97de022cf4ab39777522c05bd8c5
treec407c9058282a156633e3b2ed6fec593261fe37a
parent89721f3764befb8d5c99c934dc9aa5fc535363d6
block: convert to idr_alloc()

Convert to the much saner new idr interface.  Both bsg and genhd
protect idr w/ mutex making preloading unnecessary.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
block/bsg.c
block/genhd.c