aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifsacl.c4
-rw-r--r--fs/cifs/cifsacl.h5
2 files changed, 2 insertions, 7 deletions
diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c
index 9adcdb5a1001..42b3fe981a0a 100644
--- a/fs/cifs/cifsacl.c
+++ b/fs/cifs/cifsacl.c
@@ -42,7 +42,7 @@ static const struct cifs_sid sid_authusers = {
42/* group users */ 42/* group users */
43static const struct cifs_sid sid_user = {1, 2 , {0, 0, 0, 0, 0, 5}, {} }; 43static const struct cifs_sid sid_user = {1, 2 , {0, 0, 0, 0, 0, 5}, {} };
44 44
45const struct cred *root_cred; 45static const struct cred *root_cred;
46 46
47static void 47static void
48shrink_idmap_tree(struct rb_root *root, int nr_to_scan, int *nr_rem, 48shrink_idmap_tree(struct rb_root *root, int nr_to_scan, int *nr_rem,
@@ -187,7 +187,7 @@ cifs_idmap_key_destroy(struct key *key)
187 kfree(key->payload.data); 187 kfree(key->payload.data);
188} 188}
189 189
190struct key_type cifs_idmap_key_type = { 190static struct key_type cifs_idmap_key_type = {
191 .name = "cifs.idmap", 191 .name = "cifs.idmap",
192 .instantiate = cifs_idmap_key_instantiate, 192 .instantiate = cifs_idmap_key_instantiate,
193 .destroy = cifs_idmap_key_destroy, 193 .destroy = cifs_idmap_key_destroy,
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h
index 8b980cd445c0..249c94f39635 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -109,9 +109,4 @@ struct cifs_sid_id {
109 struct cifs_sid sid; 109 struct cifs_sid sid;
110}; 110};
111 111
112#ifdef __KERNEL__
113extern struct key_type cifs_idmap_key_type;
114extern const struct cred *root_cred;
115#endif /* KERNEL */
116
117#endif /* _CIFSACL_H */ 112#endif /* _CIFSACL_H */