diff options
author | Christoph Hellwig <[email protected]> | 2021-10-18 12:11:06 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-18 14:43:22 -0600 |
commit | 0fe80347fd701a7261bea278cab692de79e83af7 (patch) | |
tree | fc7208d69ecdc6ed370867c8d1b85d3c5f3dbce6 /net/lapb/lapb_timer.c | |
parent | 6dcbb52cddd9e50c8f6625b02a31f6dffc0d1a7b (diff) |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions