projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ad70b
)
bcache: stop setting ->queuedata
author
Christoph Hellwig
<hch@lst.de>
Wed, 1 Jul 2020 08:59:36 +0000
(10:59 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 1 Jul 2020 13:27:23 +0000
(07:27 -0600)
Nothing in bcache actually uses the ->queuedata field.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/super.c
b/drivers/md/bcache/super.c
index 2014016f9a60d301f9762ae2436ff2202f7fe131..21aa168113d30ba373840841c7bd2c64b04699d0 100644
(file)
--- a/
drivers/md/bcache/super.c
+++ b/
drivers/md/bcache/super.c
@@
-876,7
+876,6
@@
static int bcache_device_init(struct bcache_device *d, unsigned int block_size,
return -ENOMEM;
d->disk->queue = q;
- q->queuedata = d;
q->backing_dev_info->congested_data = d;
q->limits.max_hw_sectors = UINT_MAX;
q->limits.max_sectors = UINT_MAX;