Move the task cleanup from the task fail callback to taskq_cleanup.
authorclaudio <claudio@openbsd.org>
Sat, 10 May 2014 11:28:02 +0000 (11:28 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 10 May 2014 11:28:02 +0000 (11:28 +0000)
commitbb7fde4eb499e35fa8d42b21dd3965ab16f36437
tree8ba3317b27686cfad95e4428a43cd90382895b14
parentdb13da92eb2ef3f914d44e46ff660e735bbd799f
Move the task cleanup from the task fail callback to taskq_cleanup.
This makes the one failure callback a lot simpler.
usr.sbin/iscsid/task.c
usr.sbin/iscsid/vscsi.c