From: Kent Overstreet Date: Wed, 10 Apr 2013 22:50:57 +0000 (-0700) Subject: bcache: Correctly check against BIO_MAX_PAGES X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~10^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1545f13730be43278ce12f4af7e51b4dee5066a8;p=pandora-kernel.git bcache: Correctly check against BIO_MAX_PAGES bch_bio_max_sectors() was checking against BIO_MAX_PAGES as if the limit was for the total bytes in the bio, not the number of segments. Signed-off-by: Kent Overstreet --- Reading git-diff-tree failed