aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-18 10:11:08 +0000
committerJens Axboe <[email protected]>2021-10-18 20:43:22 +0000
commit64f0f42671b48ec30a3203818e26346d5b4ea5fa (patch)
tree2dc68e8cedd9c82bc0dbdaaa3bf95d551cb08923 /fs/btrfs/dev-replace.c
parentnvmet: use bdev_nr_bytes instead of open coding it (diff)
downloadkernel-64f0f42671b48ec30a3203818e26346d5b4ea5fa.tar.gz
kernel-64f0f42671b48ec30a3203818e26346d5b4ea5fa.zip
target/iblock: use bdev_nr_bytes 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]> 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