Return-Path: Received: from imap1.codethink.co.uk ([176.9.8.82]:44069 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755212AbdJQM4B (ORCPT ); Tue, 17 Oct 2017 08:56:01 -0400 Message-ID: <1508244958.22379.63.camel@codethink.co.uk> Subject: [3.18-stable] Revert "usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write" From: Ben Hutchings To: Greg Kroah-Hartman Cc: stable , David Eccher , Felipe Balbi Date: Tue, 17 Oct 2017 13:55:58 +0100 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: 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. -- Ben Hutchings Software Developer, Codethink Ltd.