diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-25 13:46:31 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-25 17:08:07 -0400 |
commit | e7008ff5c61a13e673344d3048baaf8e0652fa87 (patch) | |
tree | 3862ee8f1f653472355d08576d311985dbf1fc66 /drivers/scsi/scsi_scan.c | |
parent | 3991e4605dd3a8c7180a5ddd60d802108e880027 (diff) | |
download | linux-e7008ff5c61a13e673344d3048baaf8e0652fa87.tar.gz linux-e7008ff5c61a13e673344d3048baaf8e0652fa87.tar.bz2 linux-e7008ff5c61a13e673344d3048baaf8e0652fa87.zip |
scsi: Document which queue type a function is intended for
Rename several functions to make it easy to see which queue type a
function is intended for.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index fd88dabd599d..e7818afeda2b 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c @@ -268,7 +268,7 @@ static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, if (shost_use_blk_mq(shost)) sdev->request_queue = scsi_mq_alloc_queue(sdev); else - sdev->request_queue = scsi_alloc_queue(sdev); + sdev->request_queue = scsi_old_alloc_queue(sdev); if (!sdev->request_queue) { /* release fn is set up in scsi_sysfs_device_initialise, so * have to free and put manually here */ |