diff options
author | Christoph Hellwig <hch@lst.de> | 2011-11-02 13:06:35 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-02 17:21:10 +0100 |
commit | 2235007c4d3245c0eca5e49497aafe5a111c00fb (patch) | |
tree | dc7af94f5ac99d6558098b4fca2ed14d6ba828dc /include/target | |
parent | target/pscsi: blk_make_request() returns an ERR_PTR() (diff) | |
download | linux-2235007c4d3245c0eca5e49497aafe5a111c00fb.tar.xz linux-2235007c4d3245c0eca5e49497aafe5a111c00fb.zip |
target: add back error handling in transport_complete_task
The commit
target: use a workqueue for I/O completions
accidentally removed setting t_tasks_failed in transport_complete_task.
Add it back in a slightly cleaner way; now it is set for every failed task
instead of special casing the last one completing by using the success
argument directly for it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions