diff options
author | Tejun Heo <tj@kernel.org> | 2013-02-27 17:03:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 19:10:15 -0800 |
commit | bab998d62f12db12b3ddf1e06b2ecd4ed9e7ae45 (patch) | |
tree | 4fdd87842d72efb147ce12e513ccaccabebae4fb /drivers/block/loop.c | |
parent | ce23bba842aee98092225d9576dba47c82352521 (diff) |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/loop.c')
0 files changed, 0 insertions, 0 deletions