Revert "usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write"
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.
Greg Kroah-Hartman
maintainerQuoted 5 lines · Ben Hutchings
Please revert commit
abb540b53976("usb: gadget:inode.c: fix unbalancedspin_lockinep0_write") on the 3.18 stable branch. The upstream commit (b7bd98b7db9f) fixed a bug introduced in 4.0 by commit96b62a571934("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