diff options
| author | Christoph Hellwig <[email protected]> | 2021-10-18 10:11:09 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-18 20:43:22 +0000 |
| commit | b86058f96cc86e415e51bd12cc3786d7cdbd8b47 (patch) | |
| tree | b7899281b8d8d8f255f665ff2f7022906d9d98e2 /fs/btrfs/dev-replace.c | |
| parent | target/iblock: use bdev_nr_bytes instead of open coding it (diff) | |
| download | kernel-b86058f96cc86e415e51bd12cc3786d7cdbd8b47.tar.gz kernel-b86058f96cc86e415e51bd12cc3786d7cdbd8b47.zip | |
fs: use bdev_nr_bytes instead of open coding it in blkdev_max_block
Use the proper helper to read the block device size.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
