Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109417823
D48842.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D48842.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
Wed, Feb 5, 7:34 PM (17 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16478873
Default Alt Text
D48842.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