cciss: factor out fix target status processing code from sendcmd functions
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>
Mon, 8 Jun 2009 21:04:35 +0000 (16:04 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 9 Jun 2009 03:47:43 +0000 (05:47 +0200)
commit3c2ab40296894d1f7ad9714550fdf9b96d4e9ee6
treed83a8cfceddeae1c7a2bc102250c0482ffd6fb36
parentb57695fe131b13d3f2460cfeb9175cff673ed337
cciss: factor out fix target status processing code from sendcmd functions

Factor out code to process target status of completed commands in sendcmd()
and sendcmd_withirq_core(), and fix problem that bad target status was ignored in
sendcmd_withirq_core.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c