Skip to content
Commit 18f922d0 authored by Alan's avatar Alan Committed by Jens Axboe
Browse files

blk: fix overflow in queue_discard_max_hw_show



We get this right for queue_discard_max_show but not max_hw_show. Follow the
same pattern as queue_discard_max_show instead so that we don't truncate.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 3d65ae46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment