bcache: Correctly check against BIO_MAX_PAGES
authorKent Overstreet <koverstreet@google.com>
Wed, 10 Apr 2013 22:50:57 +0000 (15:50 -0700)
committerKent Overstreet <koverstreet@google.com>
Sun, 21 Apr 2013 00:57:42 +0000 (17:57 -0700)
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 <koverstreet@google.com>

No differences found