diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-07-24 03:28:11 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-24 03:28:11 -0400 |
commit | 165125e1e480f9510a5ffcfbfee4e3ee38c05f23 (patch) | |
tree | 8009c8a5ff09e26dc2418d42f66ecafb055c52a2 /drivers/ata/libata-scsi.c | |
parent | f695baf2df9e0413d3521661070103711545207a (diff) |
[BLOCK] Get rid of request_queue_t typedef
Some of the code has been gradually transitioned to using the proper
struct request_queue, but there's lots left. So do a full sweet of
the kernel and get rid of this typedef and replace its uses with
the proper type.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 12ac0b511f79..e83647651b31 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -768,7 +768,7 @@ static void ata_scsi_dev_config(struct scsi_device *sdev, | |||
768 | * Decrement max hw segments accordingly. | 768 | * Decrement max hw segments accordingly. |
769 | */ | 769 | */ |
770 | if (dev->class == ATA_DEV_ATAPI) { | 770 | if (dev->class == ATA_DEV_ATAPI) { |
771 | request_queue_t *q = sdev->request_queue; | 771 | struct request_queue *q = sdev->request_queue; |
772 | blk_queue_max_hw_segments(q, q->max_hw_segments - 1); | 772 | blk_queue_max_hw_segments(q, q->max_hw_segments - 1); |
773 | } | 773 | } |
774 | 774 | ||