diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2008-01-29 13:12:06 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-29 15:55:15 -0500 |
commit | 7da975a231ae8c11593fd79d1083215321be213a (patch) | |
tree | 5d18bdf4713d1140bb08b3f7ca00938f37b32af7 /include/linux/blktrace_api.h | |
parent | 023ccde109b995bb99862bf9c87efd006b1d1885 (diff) |
Fix blktrace compile warning
request_queue_t is deprecated
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index 06dadba349ac..cfc3147e5cf9 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h | |||
@@ -282,10 +282,10 @@ static inline void blk_add_trace_remap(struct request_queue *q, struct bio *bio, | |||
282 | __blk_add_trace(bt, from, bio->bi_size, bio->bi_rw, BLK_TA_REMAP, !bio_flagged(bio, BIO_UPTODATE), sizeof(r), &r); | 282 | __blk_add_trace(bt, from, bio->bi_size, bio->bi_rw, BLK_TA_REMAP, !bio_flagged(bio, BIO_UPTODATE), sizeof(r), &r); |
283 | } | 283 | } |
284 | 284 | ||
285 | extern int blk_trace_setup(request_queue_t *q, char *name, dev_t dev, | 285 | extern int blk_trace_setup(struct request_queue *q, char *name, dev_t dev, |
286 | char __user *arg); | 286 | char __user *arg); |
287 | extern int blk_trace_startstop(request_queue_t *q, int start); | 287 | extern int blk_trace_startstop(struct request_queue *q, int start); |
288 | extern int blk_trace_remove(request_queue_t *q); | 288 | extern int blk_trace_remove(struct request_queue *q); |
289 | 289 | ||
290 | #else /* !CONFIG_BLK_DEV_IO_TRACE */ | 290 | #else /* !CONFIG_BLK_DEV_IO_TRACE */ |
291 | #define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) | 291 | #define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) |