]> git.baikalelectronics.ru Git - 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)
commitb844c69368263d67a21d8577557d3ac1d69fa797
treea68f2e8c812309a361fd1fa7b2ceeff877d3133c
parent52dda3628546ade162a6ab4702d7adbe260cbf3d
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