Peter Korsgaard
f479d70b4f
USB: gadget: f_mass_storage::fsg_bind(): fix error handling
...
Contrary to the comment in fsg_add, fsg_bind calls fsg_unbind on errors,
which decreases refcount and frees the fsg_dev structure, causing trouble
when fsg_add does the same.
Fix it by simply leaving up cleanup to fsg_add().
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-19 07:24:20 -07:00
..
2009-11-30 16:43:15 -08:00
2010-03-02 14:53:17 -08:00
2010-03-02 14:54:57 -08:00
2010-03-02 14:54:57 -08:00
2009-12-23 11:34:20 -08:00
2009-03-24 16:20:33 -07:00
2009-06-15 21:44:41 -07:00
2009-12-11 11:55:23 -08:00
2009-09-23 06:46:30 -07:00
2010-03-19 07:24:19 -07:00
2010-03-02 14:53:40 -08:00
2010-03-02 14:54:57 -08:00
2010-02-23 12:02:11 +01:00
2010-03-02 14:54:57 -08:00
2010-02-16 15:11:10 -08:00
2009-09-23 18:13:10 -07:00
2010-03-19 07:24:20 -07:00
2009-09-23 18:13:10 -07:00
2009-08-12 20:44:49 -07:00
2010-03-02 14:54:57 -08:00
2009-03-24 16:20:33 -07:00
2009-09-23 18:13:10 -07:00
2009-03-24 16:20:33 -07:00
2010-03-04 08:15:33 -08:00
2010-02-04 15:55:09 +01:00
2010-03-02 14:54:18 -08:00
2009-11-11 21:43:20 -06:00
2009-10-30 14:57:33 -07:00
2009-06-15 21:44:47 -07:00
2009-03-24 16:20:45 -07:00
2010-03-02 14:54:57 -08:00
2010-03-02 14:54:57 -08:00
2010-03-19 07:24:19 -07:00
2009-10-09 13:52:07 -07:00
2010-03-02 14:54:52 -08:00
2010-03-02 14:54:02 -08:00
2009-07-12 12:22:34 -07:00
2009-06-15 21:44:47 -07:00
2009-08-24 22:45:15 +09:00
2009-07-23 13:04:15 +09:00
2010-03-02 14:54:02 -08:00
2010-03-02 14:54:49 -08:00
2010-02-16 15:11:08 -08:00
2009-03-24 16:20:33 -07:00
2010-03-02 14:54:02 -08:00
2009-11-22 10:24:32 -08:00
2010-03-02 14:54:57 -08:00
2010-03-02 07:40:51 +08:00
2009-09-23 06:46:23 -07:00
2010-03-02 14:54:47 -08:00
2010-03-02 14:54:47 -08:00
2010-03-19 07:24:12 -07:00
2009-10-06 10:59:03 +09:00
2009-09-23 06:46:35 -07:00
2009-09-23 06:46:35 -07:00
2009-09-23 06:46:35 -07:00
2010-03-08 20:21:04 +00:00
2009-03-24 16:20:33 -07:00
2009-12-11 11:55:22 -08:00
2009-12-23 11:34:20 -08:00
2009-12-23 11:34:20 -08:00
2010-03-02 14:54:33 -08:00
2010-03-02 14:54:57 -08:00
2009-09-23 06:46:37 -07:00
2009-05-08 19:34:56 -07:00
2010-03-02 14:54:57 -08:00