From: Jens Axboe Date: Thu, 29 Apr 2010 07:28:21 +0000 (+0200) Subject: block: fix bad use of min() on different types X-Git-Tag: v2.6.35-rc1~442^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0341aafb7f3313bcedc6811a098500be85f3fc77;p=pandora-kernel.git block: fix bad use of min() on different types Just cast the page size to sector_t, that will always fit. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed