From: Dan Williams Date: Tue, 28 Jul 2009 21:44:04 +0000 (-0700) Subject: ioat1: move descriptor allocation from submit to prep X-Git-Tag: v2.6.32-rc1~60^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0587bcf3e64029a4da2a5666cad18df38db0d56;p=pandora-kernel.git 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 Signed-off-by: Dan Williams --- Reading git-diff-tree failed