Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148727277
D49468.1788289863.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
562 B
Referenced Files
None
Subscribers
None
D49468.1788289863.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
@@ -2825,12 +2825,11 @@
/*
* SYNCHRONIZE_CACHE isn't supported by UFI, nor should it be
- * required for UFI devices, so it is appropriate to fake
- * success.
+ * required for UFI devices. Just fail it, the upper layers
+ * know what to do.
*/
case SYNCHRONIZE_CACHE:
- return (2);
-
+ return (0);
default:
DPRINTF(sc, UDMASS_SCSI, "Unsupported UFI "
"command 0x%02x\n", cmd_ptr[0]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 1, 7:11 PM (23 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29498811
Default Alt Text
D49468.1788289863.diff (562 B)
Attached To
Mode
D49468: umass: Fail SYNCHRONIZE_CACHE for UFI
Attached
Detach File
Event Timeline
Log In to Comment