aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-18 10:11:05 +0000
committerJens Axboe <[email protected]>2021-10-18 20:43:22 +0000
commit6dcbb52cddd9e50c8f6625b02a31f6dffc0d1a7b (patch)
tree0b62fa76b092b9525da5cbba47eeee7ed90064d0 /fs/btrfs/dev-replace.c
parentdrbd: use bdev_nr_sectors instead of open coding it (diff)
downloadkernel-6dcbb52cddd9e50c8f6625b02a31f6dffc0d1a7b.tar.gz
kernel-6dcbb52cddd9e50c8f6625b02a31f6dffc0d1a7b.zip
dm: use bdev_nr_sectors and bdev_nr_bytes instead of open coding them
Use the proper helpers to read the block device size. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Mike Snitzer <[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