]> git.karo-electronics.de Git - linux-beck.git/commit
NVMe: Check for DMA mapping failure
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 10 Feb 2011 17:01:09 +0000 (12:01 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:57 +0000 (15:52 -0400)
commit1974b1ae8852324a75fb8cfecbc7b758fd5a2c3c
treeef469e03be53c3334d6cfd93d92f11b06c025538
parentd567760c409f981d35fc755b51d5bf56a99a467b
NVMe: Check for DMA mapping failure

If dma_map_sg returns 0 (failure), we need to fail the I/O.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c