]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: Switch blk_integrity_compare from bdev to gendisk
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 1 Oct 2008 07:38:39 +0000 (03:38 -0400)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:21 +0000 (08:56 +0200)
commitad7fce93147d32ae53d25d9ea1a8ba31a239deee
treebaa8c613c1d34ec247f13b860c3bf7671b07f586
parent0c032ab889e7b20b8a5a7d09313e4aca214a15f7
block: Switch blk_integrity_compare from bdev to gendisk

The DM and MD integrity support now depends on being able to use
gendisks instead of block_devices when comparing integrity profiles.
Change function parameters accordingly.

Also update comparison logic so that two NULL profiles are a valid
configuration.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-integrity.c
include/linux/blkdev.h