aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-19 08:20:24 +0200
committerJens Axboe <[email protected]>2021-10-19 06:17:33 -0600
commit97eeb5fc14cc4b2091df8b841a07a1ac69f2d762 (patch)
treee1148e0322a5df05bdbe4e30b2696c2516a17377 /fs/btrfs/dev-replace.c
parentf9831b885709978ed9d16833ceeb3a2ec174a2d2 (diff)
partitions/ibm: use bdev_nr_sectors instead of open coding it
Use the proper helper to read the block device size and switch various places to pass the size in terms of sectors which is more practical. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] [axboe: fix comment typo] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions