aboutsummaryrefslogtreecommitdiff
path: root/fs/smbfs/getopt.c
diff options
context:
space:
mode:
authorSteve Cameron <scameron@quandary.americas.cpqcorp.net>2007-10-16 23:27:37 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:55 -0700
commit1a614f505193fcfc1b298643268a5db5b48e297f (patch)
tree80413131fca8758fe31e0fb4d383f80f5e75834f /fs/smbfs/getopt.c
parent7fdfd4065c264bddd2d9277470a6a99d34e01bef (diff)
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 'fs/smbfs/getopt.c')
0 files changed, 0 insertions, 0 deletions