block: move bio_integrity_{intervals,bytes} into blkdev.h
authorGreg Edwards <gedwards@ddn.com>
Wed, 25 Jul 2018 14:22:58 +0000 (10:22 -0400)
committerJens Axboe <axboe@kernel.dk>
Thu, 26 Jul 2018 21:49:41 +0000 (15:49 -0600)
commit359f642700f2ff05d9c94cd9216c97af7b8e9553
tree52569b902b172b73926573d4b41bcc731ecb1715
parentd3df0ac09654e9db82a882031ccae010f1b7575b
block: move bio_integrity_{intervals,bytes} into blkdev.h

This allows bio_integrity_bytes() to be called from drivers instead of
open coding it.

Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Edwards <gedwards@ddn.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c
include/linux/blkdev.h