[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] pvSCSI: fix slight issue
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1228915283 0 # Node ID 2fa1d9446f2fdc7e9361e55ebc82d8dcf33ad13e # Parent 8e3025f947902bd30587359d0bfd3431c4cd0b67 pvSCSI: fix slight issue Signed-off-by: James Harper <james.harper@xxxxxxxxxxxxxxxx> Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx> Signed-off-by: Jun Kamada <kama@xxxxxxxxxxxxxx> --- drivers/xen/scsiback/scsiback.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -r 8e3025f94790 -r 2fa1d9446f2f drivers/xen/scsiback/scsiback.c --- a/drivers/xen/scsiback/scsiback.c Tue Dec 09 13:03:44 2008 +0000 +++ b/drivers/xen/scsiback/scsiback.c Wed Dec 10 13:21:23 2008 +0000 @@ -216,14 +216,16 @@ static void scsiback_print_status(char * } -static void scsiback_cmd_done(struct request *req, int errors) +static void scsiback_cmd_done(struct request *req, int uptodate) { pending_req_t *pending_req = req->end_io_data; unsigned char *sense_buffer; unsigned int resid; + int errors; sense_buffer = req->sense; resid = req->data_len; + errors = req->errors; if (errors != 0) { if (log_print_stat) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |