diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-04 17:15:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:54:55 -0800 |
commit | 8e7e61dfbf1ec6418bf89505980b158a8d00d877 (patch) | |
tree | 6b7411089acf313bda8076d1a58a48baf68f38a8 /drivers/usb/gadget/zero.c | |
parent | 2b626dc134d38d0001b98acf8c7293b6bc5ee86d (diff) |
USB: f_mass_storage: fix crash on bind() error
init_completion() hasn't been called yet and the thread isn't created
if we end up here, so don't call complete() on thread_notifier.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/zero.c')
0 files changed, 0 insertions, 0 deletions