diff options
author | Coly Li <colyli@suse.de> | 2021-04-11 15:43:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-11 16:37:56 +0200 |
commit | 33ec5dfe8f42aaf0163a16e2b450ab06f3a7f1f3 (patch) | |
tree | 4426db26c15dd3efb6c135ec94cc3da107159ec9 /drivers/cdrom/gdrom.c | |
parent | bcache: Use 64-bit arithmetic instead of 32-bit (diff) | |
download | linux-33ec5dfe8f42aaf0163a16e2b450ab06f3a7f1f3.tar.xz linux-33ec5dfe8f42aaf0163a16e2b450ab06f3a7f1f3.zip |
bcache: fix a regression of code compiling failure in debug.c
The patch "bcache: remove PTR_CACHE" introduces a compiling failure in
debug.c with following error message,
In file included from drivers/md/bcache/bcache.h:182:0,
from drivers/md/bcache/debug.c:9:
drivers/md/bcache/debug.c: In function 'bch_btree_verify':
drivers/md/bcache/debug.c:53:19: error: 'c' undeclared (first use in
this function)
bio_set_dev(bio, c->cache->bdev);
^
This patch fixes the regression by replacing c->cache->bdev by b->c->
cache->bdev.
Signed-off-by: Coly Li <colyli@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210411134316.80274-8-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cdrom/gdrom.c')
0 files changed, 0 insertions, 0 deletions