commit | 1545f13730be43278ce12f4af7e51b4dee5066a8 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <koverstreet@google.com> | Wed Apr 10 15:50:57 2013 -0700 |
committer | Kent Overstreet <koverstreet@google.com> | Sat Apr 20 17:57:42 2013 -0700 |
tree | b1672097ddec583788cc87759b365287fa2b2fa8 | |
parent | bca97adaf522dff0e9ccf2c3f4150a1a7378932a [diff] |
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 <koverstreet@google.com>