block: Trivial fix for blk_integrity_rq()
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Jul 2008 20:09:06 +0000 (16:09 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Jul 2008 21:51:41 +0000 (14:51 -0700)
commitd442cc44c0db56e84ef6aa244a88427d2efe06cd
tree4358ff09af75c2e102f75eb08a9b55b446db6a07
parent8df1b049bc86495a40e421abc8b9cf1dda32f0d9
block: Trivial fix for blk_integrity_rq()

Fail integrity check gracefully when request does not have a bio
attached (BLOCK_PC).

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/blkdev.h