]> git.baikalelectronics.ru Git - kernel.git/commit
block: blk_max_size_offset() should check ->max_sectors
authorJens Axboe <axboe@fb.com>
Wed, 18 Jun 2014 05:09:29 +0000 (22:09 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 18 Jun 2014 05:12:02 +0000 (22:12 -0700)
commit9a00dc9b25688aad400ed25b6ddd342747dba0f3
treeb9c3c80c88ef8c0242a44356301d50e16f071125
parent14e6a3b3ec350d69d18a1d0c03cd352aaa6c9ecf
block: blk_max_size_offset() should check ->max_sectors

Commit b45da503e259 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>
include/linux/blkdev.h