Commit 987a0ef8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

bcache: stop setting ->queuedata

Nothing in bcache actually uses the ->queuedata field.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 39ad70b5
...@@ -876,7 +876,6 @@ static int bcache_device_init(struct bcache_device *d, unsigned int block_size, ...@@ -876,7 +876,6 @@ static int bcache_device_init(struct bcache_device *d, unsigned int block_size,
return -ENOMEM; return -ENOMEM;
d->disk->queue = q; d->disk->queue = q;
q->queuedata = d;
q->backing_dev_info->congested_data = d; q->backing_dev_info->congested_data = d;
q->limits.max_hw_sectors = UINT_MAX; q->limits.max_hw_sectors = UINT_MAX;
q->limits.max_sectors = UINT_MAX; q->limits.max_sectors = UINT_MAX;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment