]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
[CIFS] make cifs_dfs_automount_list_static
authorSteve French <sfrench@us.ibm.com>
Wed, 16 Apr 2008 03:56:51 +0000 (03:56 +0000)
committerSteve French <sfrench@us.ibm.com>
Wed, 16 Apr 2008 03:56:51 +0000 (03:56 +0000)
This patch makes the needlessly global cifs_dfs_automount_list static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_dfs_ref.c
fs/cifs/cifsfs.h

index 56c924033b78d73d382f1a391e00c4710bf3f01a..f53f41ff16653622755973ebf1b7880bf8a0ca09 100644 (file)
@@ -23,7 +23,7 @@
 #include "dns_resolve.h"
 #include "cifs_debug.h"
 
-LIST_HEAD(cifs_dfs_automount_list);
+static LIST_HEAD(cifs_dfs_automount_list);
 
 /*
  * DFS functions
index 68978306c3cad4333e7db69aa19e5eb7d1e89dfe..e1dd9f32e1d7600610ed084fa44548f7d153acb5 100644 (file)
@@ -62,11 +62,9 @@ extern int cifs_setattr(struct dentry *, struct iattr *);
 
 extern const struct inode_operations cifs_file_inode_ops;
 extern const struct inode_operations cifs_symlink_inode_ops;
-extern struct list_head cifs_dfs_automount_list;
 extern struct inode_operations cifs_dfs_referral_inode_operations;
 
 
-
 /* Functions related to files and directories */
 extern const struct file_operations cifs_file_ops;
 extern const struct file_operations cifs_file_direct_ops; /* if directio mnt */