diff options
author | Steve French <sfrench@us.ibm.com> | 2008-11-13 15:04:07 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-11-13 15:04:07 -0500 |
commit | fb396016647ae9de5b3bd8c4ee4f7b9cc7148bd5 (patch) | |
tree | 40ddde820d7c05b09ee130ef18477ecb50d4c61a /fs/cifs/cifsfs.c | |
parent | 3b7952109361c684caf0c50474da8662ecc81019 (diff) |
[CIFS] remove unused list, add new cifs sock list to prepare for mount/umount fix
Also adds two lines missing from the previous patch (for the need reconnect flag in the
/proc/fs/cifs/DebugData handling)
The new global_cifs_sock_list is added, and initialized in init_cifs but not used yet.
Jeff Layton will be adding code in to use that and to remove the GlobalTcon and GlobalSMBSession
lists.
CC: Jeff Layton <jlayton@redhat.com>
CC: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 903bbd6449d1..af16a2406b1c 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -1059,9 +1059,9 @@ init_cifs(void) | |||
1059 | { | 1059 | { |
1060 | int rc = 0; | 1060 | int rc = 0; |
1061 | cifs_proc_init(); | 1061 | cifs_proc_init(); |
1062 | /* INIT_LIST_HEAD(&GlobalServerList);*/ /* BB not implemented yet */ | 1062 | INIT_LIST_HEAD(&global_cifs_sock_list); |
1063 | INIT_LIST_HEAD(&GlobalSMBSessionList); | 1063 | INIT_LIST_HEAD(&GlobalSMBSessionList); /* BB to be removed by jl */ |
1064 | INIT_LIST_HEAD(&GlobalTreeConnectionList); | 1064 | INIT_LIST_HEAD(&GlobalTreeConnectionList); /* BB to be removed by jl */ |
1065 | INIT_LIST_HEAD(&GlobalOplock_Q); | 1065 | INIT_LIST_HEAD(&GlobalOplock_Q); |
1066 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 1066 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
1067 | INIT_LIST_HEAD(&GlobalDnotifyReqList); | 1067 | INIT_LIST_HEAD(&GlobalDnotifyReqList); |