Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144373967
D49466.id152565.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
528 B
Referenced Files
None
Subscribers
None
D49466.id152565.diff
View Options
diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c
--- a/sys/dev/usb/storage/umass.c
+++ b/sys/dev/usb/storage/umass.c
@@ -2290,9 +2290,7 @@
}
} else if (sc->sc_transfer.cmd_data[0] == SYNCHRONIZE_CACHE) {
if (sc->sc_quirks & NO_SYNCHRONIZE_CACHE) {
- ccb->csio.scsi_status = SCSI_STATUS_OK;
- ccb->ccb_h.status = CAM_REQ_CMP;
- xpt_done(ccb);
+ umass_cam_illegal_request(ccb);
goto done;
}
} else if (sc->sc_transfer.cmd_data[0] == START_STOP_UNIT) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 3:03 AM (53 m, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28528779
Default Alt Text
D49466.id152565.diff (528 B)
Attached To
Mode
D49466: umass: fail synchronize_cache
Attached
Detach File
Event Timeline
Log In to Comment