bsg: bind bsg to request_queue instead of gendisk
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 9 Jul 2007 10:40:35 +0000 (12:40 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 16 Jul 2007 06:52:46 +0000 (08:52 +0200)
commitd351af01b9307566135cb0f355ca65d0952c10b5
tree6d6b964e5d6474f427907ca259e6c6ac76ed9d90
parent45e79a3acdcf54113b3d7b23e9e64e6541dbfeb5
bsg: bind bsg to request_queue instead of gendisk

This patch binds bsg devices to request_queue instead of gendisk. Any
objects (like transport entities) can define own request_handler and
create own bsg device.

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