Page MenuHomeFreeBSD

D49468.id.diff
No OneTemporary

D49468.id.diff

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

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)

Event Timeline