commit | 29499ab060fec044161be73fb0e448eab97b4813 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jun 08 13:02:40 2023 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 12 08:04:04 2023 -0600 |
tree | c970c77c1205ecb83e2c9ab00e96494aedb5152f | |
parent | c889d0793d9dc07e94a5fddcc05356157fab00b7 [diff] |
bcache: don't pass a stack address to blkdev_get_by_path sb is just an on-stack pointer that can easily be reused by other calls. Switch to use the bcache-wide bcache_kobj instead as there is no need to claim per-bcache device anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20230608110258.189493-13-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>