Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149022606
D48842.1789379352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D48842.1789379352.diff
View Options
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -4591,12 +4591,10 @@
bp = (struct bio *)done_ccb->ccb_h.ccb_bp;
if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
int error;
- int sf;
+ int sf = 0;
if ((csio->ccb_h.ccb_state & DA_CCB_RETRY_UA) != 0)
- sf = SF_RETRY_UA;
- else
- sf = 0;
+ sf |= SF_RETRY_UA;
error = daerror(done_ccb, CAM_RETRY_SELTO, sf);
if (error == ERESTART) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 14, 9:49 AM (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29626502
Default Alt Text
D48842.1789379352.diff (499 B)
Attached To
Mode
D48842: cam/da: Minor rework of sf bits for errors
Attached
Detach File
Event Timeline
Log In to Comment