Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1545f137 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <koverstreet@google.com>
parent bca97ada
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment