Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151961852
D49468.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
562 B
Referenced Files
None
Subscribers
None
D49468.id.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
Sun, Apr 12, 7:24 PM (20 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31366064
Default Alt Text
D49468.id.diff (562 B)
Attached To
Mode
D49468: umass: Fail SYNCHRONIZE_CACHE for UFI
Attached
Detach File
Event Timeline
Log In to Comment