From: Michal Nazarewicz Date: Wed, 28 Oct 2009 15:57:17 +0000 (+0100) Subject: USB: g_file_storage: more code from file_storage.c moved to storage_common.c X-Git-Tag: v2.6.33-rc1~315^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f937405bd5280ced9bf845f620d1de19b9bf7d;p=pandora-kernel.git USB: g_file_storage: more code from file_storage.c moved to storage_common.c Since storage_common.c no longer references mod_data object it is now possible to include it before mod_data object is defined. This makes it possible to move some defines that are used as default values of mod_data fields to be defined in storage_common.c file (where they should be set from the beginning). Also, show_ro(), show_file(), store_ro() and store_file() have been moved to storage_common.c with LUN's device's drvdata changed from pointing to fsg_dev to pointing to rw_semaphore (&fsg->filesem). Signed-off-by: Michal Nazarewicz Cc: David Brownell Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed