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/block/umem.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/block/umem.c')
-rw-r--r-- | drivers/block/umem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/umem.c b/drivers/block/umem.c index dec74bd23496..6b7c02d6360d 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c | |||
@@ -114,7 +114,7 @@ struct cardinfo { | |||
114 | */ | 114 | */ |
115 | struct bio *bio, *currentbio, **biotail; | 115 | struct bio *bio, *currentbio, **biotail; |
116 | 116 | ||
117 | request_queue_t *queue; | 117 | struct request_queue *queue; |
118 | 118 | ||
119 | struct mm_page { | 119 | struct mm_page { |
120 | dma_addr_t page_dma; | 120 | dma_addr_t page_dma; |
@@ -357,7 +357,7 @@ static inline void reset_page(struct mm_page *page) | |||
357 | page->biotail = & page->bio; | 357 | page->biotail = & page->bio; |
358 | } | 358 | } |
359 | 359 | ||
360 | static void mm_unplug_device(request_queue_t *q) | 360 | static void mm_unplug_device(struct request_queue *q) |
361 | { | 361 | { |
362 | struct cardinfo *card = q->queuedata; | 362 | struct cardinfo *card = q->queuedata; |
363 | unsigned long flags; | 363 | unsigned long flags; |
@@ -541,7 +541,7 @@ static void process_page(unsigned long data) | |||
541 | -- mm_make_request | 541 | -- mm_make_request |
542 | ----------------------------------------------------------------------------------- | 542 | ----------------------------------------------------------------------------------- |
543 | */ | 543 | */ |
544 | static int mm_make_request(request_queue_t *q, struct bio *bio) | 544 | static int mm_make_request(struct request_queue *q, struct bio *bio) |
545 | { | 545 | { |
546 | struct cardinfo *card = q->queuedata; | 546 | struct cardinfo *card = q->queuedata; |
547 | pr_debug("mm_make_request %llu %u\n", | 547 | pr_debug("mm_make_request %llu %u\n", |