dm: return error if bio_integrity_clone() fails in clone_bio()
authorMike Snitzer <snitzer@redhat.com>
Wed, 2 Mar 2016 17:33:03 +0000 (12:33 -0500)
committerMike Snitzer <snitzer@redhat.com>
Thu, 10 Mar 2016 22:12:10 +0000 (17:12 -0500)
commitc80914e81ec5b08fec0bae531e3445268c8820f4
tree2c12bbc8520c96a8d53409605685517878a08bc2
parent2eae9e4489b4cf83213fa3bd508b5afca3f01780
dm: return error if bio_integrity_clone() fails in clone_bio()

clone_bio() now checks if bio_integrity_clone() returned an error rather
than just drop it on the floor.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c