From: Paolo Bonzini Date: Thu, 2 Aug 2012 07:48:49 +0000 (+0200) Subject: block: reorganize rounding of max_discard_sectors X-Git-Tag: v3.6-rc4~18^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6ff53d3611b564661896be23369b54d84941a0e;p=pandora-kernel.git block: reorganize rounding of max_discard_sectors Mostly a preparation for the next patch. In principle this fixes an infinite loop if max_discard_sectors < granularity, but that really shouldn't happen. Signed-off-by: Paolo Bonzini Acked-by: Vivek Goyal Tested-by: Mike Snitzer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed