summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorFUJITA Tomonori2007-07-09 12:39:20 +0200
committerJens Axboe2007-07-16 08:52:45 +0200
commit45e79a3acdcf54113b3d7b23e9e64e6541dbfeb5 (patch)
treeb8e7598b26ce446577e162189e635f6b87b10a5b /drivers/block/cciss.h
parentbsg: simplify __bsg_alloc_command failpath (diff)
downloadkernel-qcow2-linux-45e79a3acdcf54113b3d7b23e9e64e6541dbfeb5.tar.gz
kernel-qcow2-linux-45e79a3acdcf54113b3d7b23e9e64e6541dbfeb5.tar.xz
kernel-qcow2-linux-45e79a3acdcf54113b3d7b23e9e64e6541dbfeb5.zip
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>
Diffstat (limited to 'drivers/block/cciss.h')
0 files changed, 0 insertions, 0 deletions