diff options
author | Coly Li <colyli@suse.de> | 2020-10-01 08:50:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-02 22:25:30 +0200 |
commit | 63a96c05cd43ccf66cb671af039c7931a840efe8 (patch) | |
tree | 7b334df7549f460df287c31504805e74b5b87ab1 /drivers/md/raid1-10.c | |
parent | bcache: remove useless bucket_pages() (diff) | |
download | linux-63a96c05cd43ccf66cb671af039c7931a840efe8.tar.xz linux-63a96c05cd43ccf66cb671af039c7931a840efe8.zip |
bcache: only use bucket_bytes() on struct cache
Because struct cache_set and struct cache both have struct cache_sb,
macro bucket_bytes() currently are used on both of them. When removing
the embedded struct cache_sb from struct cache_set, this macro won't be
used on struct cache_set anymore.
This patch unifies all bucket_bytes() usage only on struct cache, this is
one of the preparation to remove the embedded struct cache_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>
Diffstat (limited to 'drivers/md/raid1-10.c')
0 files changed, 0 insertions, 0 deletions