USB: gadgetfs: protect ep_release with lock
authorMilan Svoboda <msvoboda@ra.rockwell.com>
Mon, 26 Jun 2006 14:48:00 +0000 (07:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:52 +0000 (11:58 -0700)
commitba307f5828b1b4a1348d99c4f430a0cf3beeae2f
tree86bc891c6be4b8e48da2f7806526ab3a15ee4aa9
parent8a7471aba19dc526978a03bfe2e3c122712b5900
USB: gadgetfs: protect ep_release with lock

This patch adds mutex protection to ep_release.

Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/inode.c