blk-mq: Add bio_integrity setup to blk_mq_make_request
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Feb 2014 20:45:39 +0000 (13:45 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 7 Feb 2014 20:45:39 +0000 (13:45 -0700)
commit14ec77f352cb00ab8425ec2af03bd7e529eefe24
tree7b5258c756c8aa58b7b48245d3854e406025488a
parent1be036e9464032362def6b3c13f57bfceefe2dab
blk-mq: Add bio_integrity setup to blk_mq_make_request

This patch adds the missing bio_integrity_enabled() +
bio_integrity_prep() setup into blk_mq_make_request()
in order to use DIF protection with scsi-mq.

Cc: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c