diff options
author | Steve French <sfrench@us.ibm.com> | 2008-04-15 23:56:51 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-04-15 23:56:51 -0400 |
commit | 8d142137b4fe87188f211042b16a5993964226f9 (patch) | |
tree | 7c91d5166ded4b5c72e222b73d6b633561f1f24c | |
parent | 5d941ca628a142f44d7a2440fe919f8e8691f590 (diff) |
[CIFS] make cifs_dfs_automount_list_static
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>
-rw-r--r-- | fs/cifs/cifs_dfs_ref.c | 2 | ||||
-rw-r--r-- | fs/cifs/cifsfs.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c index 56c924033b78..f53f41ff1665 100644 --- a/fs/cifs/cifs_dfs_ref.c +++ b/fs/cifs/cifs_dfs_ref.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include "dns_resolve.h" | 23 | #include "dns_resolve.h" |
24 | #include "cifs_debug.h" | 24 | #include "cifs_debug.h" |
25 | 25 | ||
26 | LIST_HEAD(cifs_dfs_automount_list); | 26 | static LIST_HEAD(cifs_dfs_automount_list); |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * DFS functions | 29 | * DFS functions |
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h index 68978306c3ca..e1dd9f32e1d7 100644 --- a/fs/cifs/cifsfs.h +++ b/fs/cifs/cifsfs.h | |||
@@ -62,11 +62,9 @@ extern int cifs_setattr(struct dentry *, struct iattr *); | |||
62 | 62 | ||
63 | extern const struct inode_operations cifs_file_inode_ops; | 63 | extern const struct inode_operations cifs_file_inode_ops; |
64 | extern const struct inode_operations cifs_symlink_inode_ops; | 64 | extern const struct inode_operations cifs_symlink_inode_ops; |
65 | extern struct list_head cifs_dfs_automount_list; | ||
66 | extern struct inode_operations cifs_dfs_referral_inode_operations; | 65 | extern struct inode_operations cifs_dfs_referral_inode_operations; |
67 | 66 | ||
68 | 67 | ||
69 | |||
70 | /* Functions related to files and directories */ | 68 | /* Functions related to files and directories */ |
71 | extern const struct file_operations cifs_file_ops; | 69 | extern const struct file_operations cifs_file_ops; |
72 | extern const struct file_operations cifs_file_direct_ops; /* if directio mnt */ | 70 | extern const struct file_operations cifs_file_direct_ops; /* if directio mnt */ |