diff options
Diffstat (limited to 'block/blktrace.c')
-rw-r--r-- | block/blktrace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/block/blktrace.c b/block/blktrace.c index 3f0e7c37c059..20c3e22587b5 100644 --- a/block/blktrace.c +++ b/block/blktrace.c | |||
@@ -231,7 +231,7 @@ static void blk_trace_cleanup(struct blk_trace *bt) | |||
231 | kfree(bt); | 231 | kfree(bt); |
232 | } | 232 | } |
233 | 233 | ||
234 | static int blk_trace_remove(request_queue_t *q) | 234 | static int blk_trace_remove(struct request_queue *q) |
235 | { | 235 | { |
236 | struct blk_trace *bt; | 236 | struct blk_trace *bt; |
237 | 237 | ||
@@ -312,7 +312,7 @@ static struct rchan_callbacks blk_relay_callbacks = { | |||
312 | /* | 312 | /* |
313 | * Setup everything required to start tracing | 313 | * Setup everything required to start tracing |
314 | */ | 314 | */ |
315 | static int blk_trace_setup(request_queue_t *q, struct block_device *bdev, | 315 | static int blk_trace_setup(struct request_queue *q, struct block_device *bdev, |
316 | char __user *arg) | 316 | char __user *arg) |
317 | { | 317 | { |
318 | struct blk_user_trace_setup buts; | 318 | struct blk_user_trace_setup buts; |
@@ -401,7 +401,7 @@ err: | |||
401 | return ret; | 401 | return ret; |
402 | } | 402 | } |
403 | 403 | ||
404 | static int blk_trace_startstop(request_queue_t *q, int start) | 404 | static int blk_trace_startstop(struct request_queue *q, int start) |
405 | { | 405 | { |
406 | struct blk_trace *bt; | 406 | struct blk_trace *bt; |
407 | int ret; | 407 | int ret; |
@@ -444,7 +444,7 @@ static int blk_trace_startstop(request_queue_t *q, int start) | |||
444 | **/ | 444 | **/ |
445 | int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) | 445 | int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) |
446 | { | 446 | { |
447 | request_queue_t *q; | 447 | struct request_queue *q; |
448 | int ret, start = 0; | 448 | int ret, start = 0; |
449 | 449 | ||
450 | q = bdev_get_queue(bdev); | 450 | q = bdev_get_queue(bdev); |
@@ -479,7 +479,7 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) | |||
479 | * @q: the request queue associated with the device | 479 | * @q: the request queue associated with the device |
480 | * | 480 | * |
481 | **/ | 481 | **/ |
482 | void blk_trace_shutdown(request_queue_t *q) | 482 | void blk_trace_shutdown(struct request_queue *q) |
483 | { | 483 | { |
484 | if (q->blk_trace) { | 484 | if (q->blk_trace) { |
485 | blk_trace_startstop(q, 0); | 485 | blk_trace_startstop(q, 0); |