block: Initialize max_dev_sectors to 0
authorKeith Busch <keith.busch@intel.com>
Wed, 10 Feb 2016 23:52:47 +0000 (16:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Mar 2016 23:34:49 +0000 (15:34 -0800)
commit9ec190906d22e7d8bbe3234f37e31b3ce743a71b
tree547ae88e3ccfaa7489910e5a32d8ac1bfea2109f
parent3b26135a8834b726d773e56cd37dd9ff6e43eb6b
block: Initialize max_dev_sectors to 0

commit 5f009d3f8e6685fe8c6215082c1696a08b411220 upstream.

The new queue limit is not used by the majority of block drivers, and
should be initialized to 0 for the driver's requested settings to be used.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/blk-settings.c