]> err.no Git - linux-2.6/commitdiff
[BLOCK] Add request_queue_t and mark it deprecated
authorJens Axboe <jens.axboe@oracle.com>
Tue, 24 Jul 2007 08:29:42 +0000 (10:29 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 24 Jul 2007 08:29:42 +0000 (10:29 +0200)
Andrew thinks I should be nice and allow outside code to at least just
compile, so add the request_queue_t typedef back and mark it deprecated.
It'll warn people that this type is going away soonish.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/blkdev.h

index 4be37de020523dad14cc3256552c191bb95c2045..a1c96d9ee720c1032217a1aa4e06d6d31799eab2 100644 (file)
@@ -37,6 +37,7 @@
 struct scsi_ioctl_command;
 
 struct request_queue;
+typedef struct request_queue request_queue_t __deprecated;
 struct elevator_queue;
 typedef struct elevator_queue elevator_t;
 struct request_pm_state;