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: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录