Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153350867
D30124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
537 B
Referenced Files
None
Subscribers
None
D30124.diff
View Options
diff --git a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
--- a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
+++ b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
@@ -2406,7 +2406,8 @@
else
ccb->csio.resid = ccb->csio.dxfer_len;
- if (reqp->sense_info_len != 0) {
+ if ((vm_srb->srb_status & SRB_STATUS_AUTOSENSE_VALID) != 0 &&
+ reqp->sense_info_len != 0) {
csio->sense_resid = csio->sense_len - reqp->sense_info_len;
ccb->ccb_h.status |= CAM_AUTOSNS_VALID;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 3:49 PM (18 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31918958
Default Alt Text
D30124.diff (537 B)
Attached To
Mode
D30124: storvsc: fix auto-sense reporting
Attached
Detach File
Event Timeline
Log In to Comment