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/ide/ide-cd.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/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 1486eb212ccc..ca843522f91d 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -3071,7 +3071,7 @@ static inline void ide_cdrom_add_settings(ide_drive_t *drive) { ; } | |||
3071 | /* | 3071 | /* |
3072 | * standard prep_rq_fn that builds 10 byte cmds | 3072 | * standard prep_rq_fn that builds 10 byte cmds |
3073 | */ | 3073 | */ |
3074 | static int ide_cdrom_prep_fs(request_queue_t *q, struct request *rq) | 3074 | static int ide_cdrom_prep_fs(struct request_queue *q, struct request *rq) |
3075 | { | 3075 | { |
3076 | int hard_sect = queue_hardsect_size(q); | 3076 | int hard_sect = queue_hardsect_size(q); |
3077 | long block = (long)rq->hard_sector / (hard_sect >> 9); | 3077 | long block = (long)rq->hard_sector / (hard_sect >> 9); |
@@ -3137,7 +3137,7 @@ static int ide_cdrom_prep_pc(struct request *rq) | |||
3137 | return BLKPREP_OK; | 3137 | return BLKPREP_OK; |
3138 | } | 3138 | } |
3139 | 3139 | ||
3140 | static int ide_cdrom_prep_fn(request_queue_t *q, struct request *rq) | 3140 | static int ide_cdrom_prep_fn(struct request_queue *q, struct request *rq) |
3141 | { | 3141 | { |
3142 | if (blk_fs_request(rq)) | 3142 | if (blk_fs_request(rq)) |
3143 | return ide_cdrom_prep_fs(q, rq); | 3143 | return ide_cdrom_prep_fs(q, rq); |