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