Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115929245
D49473.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
457 B
Referenced Files
None
Subscribers
None
D49473.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
@@ -2890,10 +2890,7 @@
}
if (sc->sc_transform(sc, cmd, cmd_len))
return (true); /* Execute command */
-
- xpt_freeze_devq(ccb->ccb_h.path, 1);
- ccb->ccb_h.status = CAM_REQ_INVALID | CAM_DEV_QFRZN;
- xpt_done(ccb);
+ umass_cam_illegal_request(ccb);
return (false); /* Already failed -- don't submit */
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 1:13 PM (8 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17285227
Default Alt Text
D49473.diff (457 B)
Attached To
Mode
D49473: umass: Be more consistent about how we fail bad commands
Attached
Detach File
Event Timeline
Log In to Comment