From: Jeff Layton Date: Fri, 14 Nov 2008 18:44:38 +0000 (-0500) Subject: cifs: disable sharing session and tcon and add new TCP sharing code X-Git-Tag: v2.6.28-rc6~58^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7ddee9037e7dd43de1ad08b51727e552aedd836;p=pandora-kernel.git cifs: disable sharing session and tcon and add new TCP sharing code The code that allows these structs to be shared is extremely racy. Disable the sharing of SMB and tcon structs for now until we can come up with a way to do this that's race free. We want to continue to share TCP sessions, however since they are required for multiuser mounts. For that, implement a new (hopefully race-free) scheme. Add a new global list of TCP sessions, and take care to get a reference to it whenever we're dealing with one. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed