linux/include/linux/blkdev.h
Greg Edwards ed1a4f6544 block: move bio_integrity_{intervals,bytes} into blkdev.h
commit 359f642700 upstream.

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>
[bwh: Backported to 3.16: bio_integrity_intervals() was called
 bio_integrity_hw_sectors() and had a different implementation.  Move it
 without renaming.]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-12-16 22:08:26 +00:00

1724 lines
49 KiB