From: Jens Axboe Date: Tue, 14 Jul 2015 14:15:12 +0000 (-0600) Subject: block: have drivers use blk_queue_max_discard_sectors() X-Git-Tag: omap-for-v4.3/fixes-rc1~113^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb4cd5cc472b191a46938becb7dafdd44644329;p=pandora-kernel.git block: have drivers use blk_queue_max_discard_sectors() Some drivers use it now, others just set the limits field manually. But in preparation for splitting this into a hard and soft limit, ensure that they all call the proper function for setting the hw limit for discards. Reviewed-by: Jeff Moyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed