diff options
| author | Christoph Hellwig <[email protected]> | 2021-10-18 10:11:05 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-18 20:43:22 +0000 |
| commit | 6dcbb52cddd9e50c8f6625b02a31f6dffc0d1a7b (patch) | |
| tree | 0b62fa76b092b9525da5cbba47eeee7ed90064d0 /fs/btrfs/dev-replace.c | |
| parent | drbd: use bdev_nr_sectors instead of open coding it (diff) | |
| download | kernel-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
