Coly Li ebaa1ac12b bcache: remove can_attach_cache()
After removing the embedded struct cache_sb from struct cache_set, cache
set will directly reference the in-memory super block of struct cache.
It is unnecessary to compare block_size, bucket_size and nr_in_set from
the identical in-memory super block in can_attach_cache().

This is a preparation patch for latter removing cache_set->sb from
struct cache_set.

Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-10-02 14:25:30 -06:00
..
2020-10-02 14:25:30 -06:00
2019-11-12 19:12:07 -07:00
2016-11-01 09:43:26 -06:00
2020-07-08 17:20:46 -06:00
2017-06-09 09:27:32 -06:00
2020-08-03 11:57:03 -07:00
2020-07-08 17:20:46 -06:00
2020-07-08 17:20:46 -06:00
2019-03-12 10:15:18 -07:00