block: bdev_stack_limits wrapper
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Jan 2010 08:21:49 +0000 (03:21 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 Jan 2010 13:29:20 +0000 (14:29 +0100)
commit17be8c245054b9c7786545af3ba3ca4e54cd4ad9
tree563687812bbb1b08643dfcc25997e34eb22a71b5
parentdd3d145d49c5816b79acc6761ebbd842bc50b0ee
block: bdev_stack_limits wrapper

DM does not want to know about partition offsets.  Add a partition-aware
wrapper that DM can use when stacking block devices.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-settings.c
include/linux/blkdev.h