bcache: remove the cache_dev_name field from struct cache
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Oct 2021 14:38:09 +0000 (22:38 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Oct 2021 14:40:54 +0000 (08:40 -0600)
commit7e84c2150731faec088ebfe33459f61d118b2497
tree01f15c33190daaabd4d71f7c7ccafdef72a9b4c5
parent0259d4498ba48454749ecfb9c81e892cdb8d1a32
bcache: remove the cache_dev_name field from struct cache

Just use the %pg format specifier to print the name directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20211020143812.6403-6-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bcache.h
drivers/md/bcache/io.c
drivers/md/bcache/super.c