Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
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