usb-storage: Add compatibility quirk flags for iODD 2531/2541
authorJames Buren <braewoods+lkml@braewoods.net>
Thu, 14 Oct 2021 01:55:04 +0000 (20:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Nov 2021 13:58:32 +0000 (14:58 +0100)
commit42681b90c4db8bf29fc2cc93789ec093bb209296
treeb2214a35424cfe906b7fb34970acafe413f7bab8
parent1309753b7841db412063bcce3f2a0eddf1443e9d
usb-storage: Add compatibility quirk flags for iODD 2531/2541

commit 05c8f1b67e67dcd786ae3fe44492bbc617b4bd12 upstream.

These drive enclosures have firmware bugs that make it impossible to mount
a new virtual ISO image after Linux ejects the old one if the device is
locked by Linux. Windows bypasses this problem by the fact that they do
not lock the device. Add a quirk to disable device locking for these
drive enclosures.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Buren <braewoods+lkml@braewoods.net>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211014015504.2695089-1-braewoods+lkml@braewoods.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/unusual_devs.h