summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-10-31 10:05:07 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-12-29 08:29:50 +0100
commitb374d18a4bfce705e4a99ae9f501b53e86ecb283 (patch)
tree7e773464725a78e96a2017fa36cf9d4a4e29f73b /drivers/block
parentabf137dd7712132ee56d5b3143c2ff61a72a5faa (diff)
downloadop-kernel-dev-b374d18a4bfce705e4a99ae9f501b53e86ecb283.zip
op-kernel-dev-b374d18a4bfce705e4a99ae9f501b53e86ecb283.tar.gz
block: get rid of elevator_t typedef
Just use struct elevator_queue everywhere instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index d3a91ca..0766ce6 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -722,7 +722,7 @@ static int __init nbd_init(void)
for (i = 0; i < nbds_max; i++) {
struct gendisk *disk = alloc_disk(1 << part_shift);
- elevator_t *old_e;
+ struct elevator_queue *old_e;
if (!disk)
goto out;
nbd_dev[i].disk = disk;
OpenPOWER on IntegriCloud