commit | 736ed4de766d4f0e8e6142dd4f9d73ef61835ed9 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Jun 17 22:09:29 2014 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Jun 17 22:12:02 2014 -0700 |
tree | b9c3c80c88ef8c0242a44356301d50e16f071125 | |
parent | d891fa70876b37941a5c5bed813e73beb53ebcf7 [diff] |
block: blk_max_size_offset() should check ->max_sectors Commit 762380ad9322 inadvertently changed a check for max_sectors to max_hw_sectors. Revert that part, so we still compare against max_sectors. Signed-off-by: Jens Axboe <axboe@fb.com>