I/OAT: fix async_tx.callback checking
commitd2edcdc5ad15bc5565e1e968cc43ed90c5c0a9e4
authorMaciej Sosnowski <maciej.sosnowski@intel.com>
Tue, 11 Nov 2008 17:50:05 +0000 (11 17:50 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Nov 2008 17:56:00 +0000 (13 09:56 -0800)
tree13a57dc6aa9f02f5ccf638bac77ce213421d5bef
parent33cfbb0629d7e08875f23ceeff21c4067a0937e5
I/OAT: fix async_tx.callback checking

commit 12ccea24e309d815d058cdc6ee8bf2c4b85f0c5f upstream

async_tx.callback should be checked for the first
not the last descriptor in the chain.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/dma/ioat_dma.c