block: fix bad use of min() on different types
Just cast the page size to sector_t, that will always fit.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
Showing
想要评论请 注册 或 登录
Just cast the page size to sector_t, that will always fit.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>