]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
cifs: no need to mark smb_ses_list as cifs_demultiplex_thread is exiting
authorJeff Layton <jlayton@redhat.com>
Tue, 11 Jan 2011 12:24:01 +0000 (07:24 -0500)
committerSteve French <sfrench@us.ibm.com>
Wed, 19 Jan 2011 17:52:30 +0000 (17:52 +0000)
commit9d78315b03fc91228306db42edc533efa69cb518
treea68f2e8c812309a361fd1fa7b2ceeff877d3133c
parent941b853d779de3298e39f1eb4e252984464eaea8
cifs: no need to mark smb_ses_list as cifs_demultiplex_thread is exiting

The TCP_Server_Info is refcounted and every SMB session holds a
reference to it. Thus, smb_ses_list is always going to be empty when
cifsd is coming down. This is dead code.

Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c