1
linux/drivers/block
Steve Cameron 1a614f5051 cciss: fix error reporting for SG_IO
This fixes a problem with the way cciss was filling out the "errors" field
of the request structure upon completion of requests.  Previously, it just
put a 1 or a 0 in there and used the negation of this as the uptodate
parameter to one of the functions in the block layer, being a block device.
 For the SG_IO ioctl, this was not sufficient, and we noticed that, for
example, sg_turs from sg3_utils did not correctly detect problems due to
cciss having set rq->errors incorrectly.

Signed-off-by: Stephen M. Cameron <steve.cameron@hp.com>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:55 -07:00
..
aoe aoe: remove unecessary wrapper function 2007-10-17 08:42:52 -07:00
paride [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
amiflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ataflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
cciss_cmd.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_scsi.c [SCSI] cciss: convert to use the data buffer accessors 2007-05-29 11:22:13 -05:00
cciss_scsi.h
cciss.c cciss: fix error reporting for SG_IO 2007-10-17 08:42:55 -07:00
cciss.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cpqarray.c drivers/block/cpqarray,cciss: kill unused var 2007-10-16 09:59:55 +02:00
cpqarray.h
cryptoloop.c [BLOCK] cryptoloop: Use block ciphers where applicable 2006-09-21 11:45:53 +10:00
DAC960.c Fix "Fix DAC960 driver on machines which don't support 64-bit DMA" 2007-09-19 11:24:16 -07:00
DAC960.h Fix DAC960 driver on machines which don't support 64-bit DMA 2007-09-11 17:21:19 -07:00
floppy.c floppy: tolerate DMA channel unavailability 2007-10-17 08:42:55 -07:00
ida_cmd.h
ida_ioctl.h
Kconfig [S390] Remove obsolete recommendation for 8M ramdisk size. 2007-10-12 16:13:09 +02:00
lguest_blk.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
loop.c Remove unneeded lock_kernel() in driver/block/loop.c 2007-10-17 08:42:48 -07:00
Makefile Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n 2007-07-29 17:37:45 -07:00
nbd.c NBD: allow hung network I/O to be cancelled 2007-10-17 08:42:55 -07:00
pktcdvd.c pktcdvd: don't rely on bio_init() preserving bio->bi_destructor 2007-10-16 11:05:09 +02:00
ps2esdi.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ps3disk.c block: convert blkdev_issue_flush() to use empty barriers 2007-10-16 11:05:02 +02:00
rd.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
smart1,2.h
sunvdc.c [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK. 2007-08-26 18:49:07 -07:00
swim3.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
sx8.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ub.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
umem.c drivers/block/umem: use DRIVER_NAME where appropriate 2007-10-10 09:25:59 +02:00
umem.h drivers/block/umem: trim trailing whitespace 2007-10-10 09:25:59 +02:00
viodasd.c [POWERPC] iSeries: Move viodasd probing 2007-10-11 20:40:48 +10:00
xd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xd.h [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xen-blkfront.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
xsysace.c Sysace: Don't enable IRQ until after interrupt handler is registered 2007-10-10 09:26:00 +02:00
z2ram.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00