commit | 18f922d037211a15543af935861bf92161e697e9 | [log] [tgz] |
---|---|---|
author | Alan <gnomes@lxorguk.ukuu.org.uk> | Wed Feb 17 14:15:30 2016 +0000 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 17 10:20:42 2016 -0700 |
tree | 99fe77119a941ad307706095915b99bb3325fadb | |
parent | 3d65ae4634ed8350aee98a4e6f4e41fe40c7d282 [diff] |
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: Alan Cox <alan@linux.intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>