aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-18 10:11:09 +0000
committerJens Axboe <[email protected]>2021-10-18 20:43:22 +0000
commitb86058f96cc86e415e51bd12cc3786d7cdbd8b47 (patch)
treeb7899281b8d8d8f255f665ff2f7022906d9d98e2 /fs/btrfs/dev-replace.c
parenttarget/iblock: use bdev_nr_bytes instead of open coding it (diff)
downloadkernel-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