Re: [PATCH 1/2] bsg: use lib/idr.c to find a unique minor number

2007-07-22 Thread Jens Axboe
On Mon, Jul 23 2007, FUJITA Tomonori wrote: > This replaces the current linear search for a unique minor number with > lib/idr.c. > > Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> Awesome, that's a very nice improvement both for code and performance. Acked-by: Jens Axboe <[EMAIL PROTECTED]>

[PATCH 1/2] bsg: use lib/idr.c to find a unique minor number

2007-07-22 Thread FUJITA Tomonori
This replaces the current linear search for a unique minor number with lib/idr.c. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- block/bsg.c | 69 ++ include/linux/bsg.h |1 - 2 files changed, 30 insertions(+), 40 deletions(-)