block: Get rid of bdev_integrity_enabled()
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Sep 2014 23:19:55 +0000 (19:19 -0400)
committerJens Axboe <axboe@fb.com>
Sat, 27 Sep 2014 15:14:44 +0000 (09:14 -0600)
commite7258c1a269e0967856c81d182c286a78f5ecf15
treebd2d5be701105d29e79fc843f091aa574ff4ebc8
parentf70ced09170761acb69840cafaace4abc72cba4b
block: Get rid of bdev_integrity_enabled()

bdev_integrity_enabled() is only used by bio_integrity_enabled().
Combine these two functions.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Documentation/block/data-integrity.txt
block/bio-integrity.c
include/linux/bio.h