Skip to contentSkip to conversation

Revert "usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write"

3.18-stable Ben Hutchings 2 participants 2 messages Oct 17, 2017 Stable branch

lore
Share & tools
lore
#0 lore raw

Please revert commit abb540b53976 ("usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write") on the 3.18 stable branch. The upstream commit (b7bd98b7db9f) fixed a bug introduced in 4.0 by commit 96b62a571934 ("gadgetfs: really get rid of switching ->f_op"). Backporting it to older versions introduces a lock unbalance.

Ben.

Signature · 2 lines
Ben Hutchings
Software Developer, Codethink Ltd.
#1 lore raw
Quoted 5 lines · Ben Hutchings

Please revert commit abb540b53976 ("usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write") on the 3.18 stable branch. The upstream commit (b7bd98b7db9f) fixed a bug introduced in 4.0 by commit 96b62a571934 ("gadgetfs: really get rid of switching ->f_op"). Backporting it to older versions introduces a lock unbalance.

Ugh, you are right, this was my fault, and kbuild also complained about this.

now reverted.

greg k-h