Skip to content
Commit 736ed4de authored by Jens Axboe's avatar Jens Axboe
Browse files

block: blk_max_size_offset() should check ->max_sectors



Commit 762380ad inadvertently changed a check for max_sectors
to max_hw_sectors. Revert that part, so we still compare against
max_sectors.

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