aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-09-28 15:43:08 -0400
committerSteve French <sfrench@us.ibm.com>2006-09-28 15:43:08 -0400
commit2cd646a2d1d5e0e46aa4bb55b1847b0cb35bd855 (patch)
tree06be4e598e93e5426f32837386187395e592bb0a /fs/cifs/cifsfs.c
parent1bd5bbcb6531776a8f73e2cc6287fc4dd542e1c7 (diff)
[CIFS] Remove static and unused symbols
Most cases of the ones found by Shaggy by "make namespacecheck" could be removed or made static Ack: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index f5ba41132488..cd17d4b78173 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -442,7 +442,7 @@ static int cifs_remount(struct super_block *sb, int *flags, char *data)
442 return 0; 442 return 0;
443} 443}
444 444
445struct super_operations cifs_super_ops = { 445static struct super_operations cifs_super_ops = {
446 .read_inode = cifs_read_inode, 446 .read_inode = cifs_read_inode,
447 .put_super = cifs_put_super, 447 .put_super = cifs_put_super,
448 .statfs = cifs_statfs, 448 .statfs = cifs_statfs,
@@ -930,7 +930,7 @@ init_cifs(void)
930#ifdef CONFIG_PROC_FS 930#ifdef CONFIG_PROC_FS
931 cifs_proc_init(); 931 cifs_proc_init();
932#endif 932#endif
933 INIT_LIST_HEAD(&GlobalServerList); /* BB not implemented yet */ 933/* INIT_LIST_HEAD(&GlobalServerList);*/ /* BB not implemented yet */
934 INIT_LIST_HEAD(&GlobalSMBSessionList); 934 INIT_LIST_HEAD(&GlobalSMBSessionList);
935 INIT_LIST_HEAD(&GlobalTreeConnectionList); 935 INIT_LIST_HEAD(&GlobalTreeConnectionList);
936 INIT_LIST_HEAD(&GlobalOplock_Q); 936 INIT_LIST_HEAD(&GlobalOplock_Q);
@@ -958,6 +958,7 @@ init_cifs(void)
958 GlobalCurrentXid = 0; 958 GlobalCurrentXid = 0;
959 GlobalTotalActiveXid = 0; 959 GlobalTotalActiveXid = 0;
960 GlobalMaxActiveXid = 0; 960 GlobalMaxActiveXid = 0;
961 memset(Local_System_Name, 0, 15);
961 rwlock_init(&GlobalSMBSeslock); 962 rwlock_init(&GlobalSMBSeslock);
962 spin_lock_init(&GlobalMid_Lock); 963 spin_lock_init(&GlobalMid_Lock);
963 964