commit | 0341aafb7f3313bcedc6811a098500be85f3fc77 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Apr 29 09:28:21 2010 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Apr 29 09:28:21 2010 +0200 |
tree | 844d674e4f4a9f5200d71f0e71f15e1e9e0daad9 | |
parent | 50eaeb323a170e231263ccb433bb2f99bd9e27ac [diff] |
block: fix bad use of min() on different types Just cast the page size to sector_t, that will always fit. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>