[SCSI] bsg: use lib/idr.c to find a unique minor number
commit598443a2124618fc8fe5a8bae32c129666ac3eab
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 23 Jul 2007 00:33:26 +0000 (23 09:33 +0900)
committerJames Bottomley <jejb@mulgrave.localdomain>
Mon, 23 Jul 2007 21:49:44 +0000 (23 16:49 -0500)
treea86e9a21e3ef69b926c04bb60d2c0823662f5685
parent4b39c1d98327b0a572392cdb0ee22db1de0e7cb9
[SCSI] bsg: use lib/idr.c to find a unique minor number

This replaces the current linear search for a unique minor number with
lib/idr.c.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
block/bsg.c
include/linux/bsg.h