diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 5 |
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 | ||
445 | struct super_operations cifs_super_ops = { | 445 | static 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 | ||