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

Skip to content
Commit 0341aafb authored by Jens Axboe's avatar Jens Axboe
Browse files

block: fix bad use of min() on different types



Just cast the page size to sector_t, that will always fit.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 50eaeb32
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