summaryrefslogtreecommitdiff
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-07-01 18:35:44 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-07-26 13:54:02 +0300
commitee9a4ae7dcf19bfe13eb7ae5696ea0405de1f089 (patch)
tree333e0583e4768f09e94b33e9f969456f0600be3f /include/linux/f2fs_fs.h
parentbf594c1070f5c34a2576a725eef69cba2686b98d (diff)
downloadlinux-ee9a4ae7dcf19bfe13eb7ae5696ea0405de1f089.tar.xz
usb: usbtest: use irqsave() in USB's complete callback
The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the callback handler to disable the interrupts while acquiring the lock. The callback may be invoked either in IRQ or BH context depending on the USB host controller. Use the _irqsave() variant of the locking primitives. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/f2fs_fs.h')
0 files changed, 0 insertions, 0 deletions