]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iowarrior: use interruptible lock in iowarrior_write()
authorOliver Neukum <oneukum@suse.com>
Thu, 12 Mar 2026 09:45:28 +0000 (10:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:02:20 +0000 (16:02 +0100)
commitbcbdfc7fadf8018552fd55e57114a77637395684
treefa73e3526e0d8a1b2a0b7751b6ada5d277060ca7
parent56dd29088c9d9510c48a8ebad2465248fde36551
iowarrior: use interruptible lock in iowarrior_write()

The function itself, if it has to wait to perform
IO, use interruptible sleep. Hence the sleep needed
to avoid the write code path racing with itself should also
use interruptible sleep.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://patch.msgid.link/20260312094619.1590556-2-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/iowarrior.c