summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/Makefile
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-07-28 14:44:04 -0700
committerDan Williams <dan.j.williams@intel.com>2009-09-08 17:29:55 -0700
commita0587bcf3e64029a4da2a5666cad18df38db0d56 (patch)
tree475b3a2a7cd102f40d7c16fed431c227576c255a /drivers/dma/ioat/Makefile
parentc7984f4e4e3af3bf8027d636283ea8658c7f80b9 (diff)
downloadop-kernel-dev-a0587bcf3e64029a4da2a5666cad18df38db0d56.zip
op-kernel-dev-a0587bcf3e64029a4da2a5666cad18df38db0d56.tar.gz
ioat1: move descriptor allocation from submit to prep
The async_tx api assumes that after a successful ->prep a subsequent ->submit will not fail due to a lack of resources. This also fixes a bug in the allocation failure case. Previously the descriptors allocated prior to the allocation failure would not be returned to the free list. Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud