]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/ll_rw_blk.c
[BLOCK] ll_rw_blk: make max_sectors and max_hw_sectors unsigned ints
[linux-2.6-omap-h63xx.git] / block / ll_rw_blk.c
index 8e27d0ab0d7ccefef5a53d42c52978200040ca18..5c62507a510d1d9a3d1320e6e6b3a1378f94bd6a 100644 (file)
@@ -662,7 +662,7 @@ EXPORT_SYMBOL(blk_queue_bounce_limit);
  *    Enables a low level driver to set an upper limit on the size of
  *    received requests.
  **/
-void blk_queue_max_sectors(request_queue_t *q, unsigned short max_sectors)
+void blk_queue_max_sectors(request_queue_t *q, unsigned int max_sectors)
 {
        if ((max_sectors << 9) < PAGE_CACHE_SIZE) {
                max_sectors = 1 << (PAGE_CACHE_SHIFT - 9);