commit | f1987b44f642e96176adc88b7ce23a1d74806f89 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Sat Nov 15 11:12:47 2008 -0500 |
committer | Steve French <sfrench@us.ibm.com> | Mon Nov 17 03:14:12 2008 +0000 |
tree | fceaebf6b6d7eb1d1150120c44a842cbce8347f6 | |
parent | d82c2df54e2f7e447476350848d8eccc8d2fe46a [diff] |
cifs: reinstate sharing of tree connections 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 <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>