diff options
author | Christoph Hellwig <[email protected]> | 2021-10-18 12:11:09 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-18 14:43:22 -0600 |
commit | b86058f96cc86e415e51bd12cc3786d7cdbd8b47 (patch) | |
tree | b7899281b8d8d8f255f665ff2f7022906d9d98e2 /net/lapb/lapb_timer.c | |
parent | 64f0f42671b48ec30a3203818e26346d5b4ea5fa (diff) |
fs: use bdev_nr_bytes instead of open coding it in blkdev_max_block
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: Jan Kara <[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