Skip to content

Commit

Permalink
USB: g_mass_storage: most data moved to fsg_common
Browse files Browse the repository at this point in the history
Most of the data from fsg_dev have been moved to fsg_common
structure.  The fsg_dev structure holds only endpoint dependent
data.  The fsg_common structure has a fsg pointer which points
to active fsg_dev structure -- endpoints are referenced via this
pointer.

This fixes the problem of several threads created when a single
instance of MSF is used in several USB configurations.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Michal Nazarewicz authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent d26a6aa commit 8ea864c
Showing 1 changed file with 648 additions and 582 deletions.
Loading

0 comments on commit 8ea864c

Please sign in to comment.