cciss: factor out core of sendcmd() for a more sane interface
authorStephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Tue, 2 Jun 2009 12:47:50 +0000 (14:47 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 2 Jun 2009 12:47:50 +0000 (14:47 +0200)
Factor out the core of sendcmd() to provide a simpler interface which
exposes all the error information to the caller and make the original
sendcmd use this new function.  Rationale: The SCSI error handling
routines need to send commands with interrupts turned off, but they also
need access to the full error information.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Cc: Mike Miller <mikem@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found