Il 19/04/2013 09:05, Dmitry Fleytman ha scritto:
> + if (pvscsi_req->dev->resetting) {
> + pvscsi_req->cmp.hostStatus = BTSTAT_BUSRESET;
> + }
I'm changing this to
if (pvscsi_req->cmp.hostStatus == BTSTAT_SUCCESS) {
if (pvscsi_req->dev->resetting) {
pvscsi_req->cmp.hostStatus = BTSTAT_BUSRESET;
} else {
pvscsi_req->cmp.hostStatus = BTSTAT_ABORTQUEUE;
}
}
Otherwise it's okay.
Thanks!
Paolo
