diff options
| author | Christoph Hellwig <[email protected]> | 2021-10-18 10:11:06 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-18 20:43:22 +0000 |
| commit | 0fe80347fd701a7261bea278cab692de79e83af7 (patch) | |
| tree | fc7208d69ecdc6ed370867c8d1b85d3c5f3dbce6 /fs/btrfs/dev-replace.c | |
| parent | dm: use bdev_nr_sectors and bdev_nr_bytes instead of open coding them (diff) | |
| download | kernel-0fe80347fd701a7261bea278cab692de79e83af7.tar.gz kernel-0fe80347fd701a7261bea278cab692de79e83af7.zip | |
md: use bdev_nr_sectors instead of open coding it
Use the proper helper to read the block device size.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Song Liu <[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
