summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorSteve Cameron <scameron@quandary.americas.cpqcorp.net>2007-10-17 08:27:37 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:55 +0200
commit1a614f505193fcfc1b298643268a5db5b48e297f (patch)
tree80413131fca8758fe31e0fb4d383f80f5e75834f /drivers/base
parentNBD: allow hung network I/O to be cancelled (diff)
downloadlinux-1a614f505193fcfc1b298643268a5db5b48e297f.tar.xz
linux-1a614f505193fcfc1b298643268a5db5b48e297f.zip
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>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions