/* Description: This workqueue function is called to complete a READ request. The function verifies the transferred integrity metadata and then calls the original bio end_io function.  */
static void bio_integrity_verify_fn(struct work_struct *work)
/* Description: This workqueue function is called to complete a READ request. The function verifies the transferred integrity metadata and then calls the original bio end_io function.  */
static void bio_integrity_verify_fn(struct work_struct *work)
{
	struct bio_integrity_payload *bip =
		container_of(work, struct bio_integrity_payload, bip_work);
	struct bio *bio = bip->bip_bio;
	int error;
	error = bio_integrity_verify(bio);
	bio->bi_end_io = bip->bip_end_io;
	bio_endio(bio, error);
}