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 14:05:48 +0000 (15:05 +0100)
commit2e93afda05203a35531b10955999a485c2233a88
treebb3e985ca272b262342a9106e633bed00bdce606
parentad5df979295bf9c6b0ce4942b40973508090f89e
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