]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5531f8e323b85cded9ecd7beddf4c408033596f7
treecd53475c9c89a5d833c55bd53bf22d34228ea909
parentbf0242e5eacaeb53380d38c07f6c9bd5f9675c08
cciss: factor out core of sendcmd() for a more sane interface

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>
drivers/block/cciss.c