From: Alan Stern Date: Wed, 9 Nov 2005 21:59:56 +0000 (-0500) Subject: [PATCH] USB: file-storage gadget: Add reference count for children X-Git-Tag: v2.6.16-rc1~474^2~22^2~10^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c4252a35310fdbb2aabb880a39b83f83cadf62;p=pandora-kernel.git [PATCH] USB: file-storage gadget: Add reference count for children This patch (as601) adds a proper reference count to the file-storage gadget's main data structure, to keep track of references held by child devices (LUNs in this case). Before this, the driver would wait for each child to be released before unbinding. While there's nothing really wrong with that (you can't create a hang by doing "rmmod g_file_storage Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed