block: fix bad use of min() on different types
authorJens Axboe <jens.axboe@oracle.com>
Thu, 29 Apr 2010 07:28:21 +0000 (09:28 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 29 Apr 2010 07:28:21 +0000 (09:28 +0200)
Just cast the page size to sector_t, that will always fit.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found