From: Jeff Layton Date: Fri, 21 Nov 2008 08:53:55 +0000 (+0530) Subject: cifs: reinstate sharing of tree connections X-Git-Tag: v2.6.27.8~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bbaf8d40b3908efe1bc87b80596611f98e0e011;p=pandora-kernel.git cifs: reinstate sharing of tree connections commit f1987b44f642e96176adc88b7ce23a1d74806f89 upstream Use a similar approach to the SMB session sharing. Add a list of tcons attached to each SMB session. Move the refcount to non-atomic. Protect all of the above with the cifs_tcp_ses_lock. Add functions to properly find and put references to the tcons. Signed-off-by: Jeff Layton Signed-off-by: Steve French Cc: Suresh Jayaraman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed