loop: replace linked list of allocated devices with an idr index
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 31 Jul 2011 20:08:04 +0000 (22:08 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sun, 31 Jul 2011 20:08:04 +0000 (22:08 +0200)
Replace the linked list, that keeps track of allocated devices, with an
idr index to allow a more efficient lookup of devices.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found