]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectors
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Feb 2010 05:20:38 +0000 (00:20 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 26 Feb 2010 12:58:08 +0000 (13:58 +0100)
The block layer calling convention is blk_queue_<limit name>.
blk_queue_max_sectors predates this practice, leading to some confusion.
Rename the function to appropriately reflect that its intended use is to
set max_hw_sectors.

Also introduce a temporary wrapper for backwards compability.  This can
be removed after the merge window is closed.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found