diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-20 16:38:09 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-20 16:40:54 +0200 |
commit | 7e84c2150731faec088ebfe33459f61d118b2497 (patch) | |
tree | 01f15c33190daaabd4d71f7c7ccafdef72a9b4c5 /drivers/md/bcache/bcache.h | |
parent | bcache: move calc_cached_dev_sectors to proper place on backing device detach (diff) | |
download | linux-7e84c2150731faec088ebfe33459f61d118b2497.tar.xz linux-7e84c2150731faec088ebfe33459f61d118b2497.zip |
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>
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r-- | drivers/md/bcache/bcache.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index 5fc989a6d452..47ff9ecea2e2 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h @@ -470,8 +470,6 @@ struct cache { atomic_long_t meta_sectors_written; atomic_long_t btree_sectors_written; atomic_long_t sectors_written; - - char cache_dev_name[BDEVNAME_SIZE]; }; struct gc_stat { |