bcache: remove bdev_sectors
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Oct 2021 10:11:03 +0000 (12:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:43:22 +0000 (14:43 -0600)
commitcda25b82c47496f2da0785af5a0aa72a8990cec2
tree8e4be76dda1a90d14d0ed8b12e4af361cbd99c12
parent6436bd90f76e75d2c5786a50203b05a9b7f7100d
bcache: remove bdev_sectors

Use the equivalent block layer helper instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Acked-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20211018101130.1838532-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c
drivers/md/bcache/util.h
drivers/md/bcache/writeback.c