commit | bab998d62f12db12b3ddf1e06b2ecd4ed9e7ae45 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Feb 27 17:03:57 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Feb 27 19:10:15 2013 -0800 |
tree | 4fdd87842d72efb147ce12e513ccaccabebae4fb | |
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>