diff options
author | 2008-11-14 13:53:46 -0500 | |
---|---|---|
committer | 2008-11-14 23:56:55 +0000 | |
commit | 14fbf50d695207754daeb96270b3027a3821121f (patch) | |
tree | 05e80aa7e5e6a6bc07a9354f744ba9c599699569 /lib/debugobjects.c | |
parent | cifs: disable sharing session and tcon and add new TCP sharing code (diff) | |
download | wireguard-linux-14fbf50d695207754daeb96270b3027a3821121f.tar.xz wireguard-linux-14fbf50d695207754daeb96270b3027a3821121f.zip |
cifs: reinstate sharing of SMB sessions sans races
We do this by abandoning the global list of SMB sessions and instead
moving to a per-server list. This entails adding a new list head to the
TCP_Server_Info struct. The refcounting for the cifsSesInfo is moved to
a non-atomic variable. We have to protect it by a lock anyway, so there's
no benefit to making it an atomic. The list and refcount are protected
by the global cifs_tcp_ses_lock.
The patch also adds a new routines to find and put SMB sessions and
that properly take and put references under the lock.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions