linux/block
FUJITA Tomonori 45e79a3acd bsg: add a request_queue argument to scsi_cmd_ioctl()
bsg uses scsi_cmd_ioctl() for some SCSI/sg ioctl
commands. scsi_cmd_ioctl() gets a request queue from a gendisk
arguement. This prevents bsg being bound to SCSI devices that don't
have a gendisk (like OSD). This adds a request_queue argument to
scsi_cmd_ioctl(). The SCSI/sg ioctl commands doesn't use a gendisk so
it's safe for any SCSI devices to use scsi_cmd_ioctl().

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-16 08:52:45 +02:00
..
as-iosched.c
blktrace.c
bsg.c bsg: add a request_queue argument to scsi_cmd_ioctl() 2007-07-16 08:52:45 +02:00
cfq-iosched.c
deadline-iosched.c
elevator.c Use list_for_each_entry() instead of list_for_each() in the block device 2007-07-10 13:43:32 +02:00
genhd.c
ioctl.c
Kconfig bsg: support for full generic block layer SG v3 2007-07-16 08:52:44 +02:00
Kconfig.iosched
ll_rw_blk.c bsg: support for full generic block layer SG v3 2007-07-16 08:52:44 +02:00
Makefile bsg: support for full generic block layer SG v3 2007-07-16 08:52:44 +02:00
noop-iosched.c
scsi_ioctl.c bsg: add a request_queue argument to scsi_cmd_ioctl() 2007-07-16 08:52:45 +02:00