NVMe: Switch to use DMA Pool API
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 10 Feb 2011 14:56:01 +0000 (09:56 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:57 +0000 (15:52 -0400)
commit091b609258b8e01cc45b01a41ca5e496f674d989
treefc047bbe0b579d2708c4ac36937ce403df8d38f2
parentd534df3c730af9073a9ddc076d9fd65cbdca22b3
NVMe: Switch to use DMA Pool API

Calling dma_free_coherent from interrupt context causes warnings.
Using the DMA pools delays freeing until pool destruction, so avoids
the problem.

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