diff options
author | Steve Cameron <[email protected]> | 2007-10-16 23:27:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-10-17 08:42:55 -0700 |
commit | 1a614f505193fcfc1b298643268a5db5b48e297f (patch) | |
tree | 80413131fca8758fe31e0fb4d383f80f5e75834f /fs/file_table.c | |
parent | 7fdfd4065c264bddd2d9277470a6a99d34e01bef (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 <[email protected]>
Acked-by: Mike Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions