aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r--fs/nfs/idmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c
index f72c1fc074e1..f9f89fc83ee0 100644
--- a/fs/nfs/idmap.c
+++ b/fs/nfs/idmap.c
@@ -54,8 +54,8 @@
54 54
55/* Default cache timeout is 10 minutes */ 55/* Default cache timeout is 10 minutes */
56unsigned int nfs_idmap_cache_timeout = 600; 56unsigned int nfs_idmap_cache_timeout = 600;
57const struct cred *id_resolver_cache; 57static const struct cred *id_resolver_cache;
58struct key_type key_type_id_resolver_legacy; 58static struct key_type key_type_id_resolver_legacy;
59 59
60 60
61/** 61/**
@@ -160,7 +160,7 @@ static int nfs_map_numeric_to_string(__u32 id, char *buf, size_t buflen)
160 return snprintf(buf, buflen, "%u", id); 160 return snprintf(buf, buflen, "%u", id);
161} 161}
162 162
163struct key_type key_type_id_resolver = { 163static struct key_type key_type_id_resolver = {
164 .name = "id_resolver", 164 .name = "id_resolver",
165 .instantiate = user_instantiate, 165 .instantiate = user_instantiate,
166 .match = user_match, 166 .match = user_match,
@@ -381,7 +381,7 @@ static const struct rpc_pipe_ops idmap_upcall_ops = {
381 .destroy_msg = idmap_pipe_destroy_msg, 381 .destroy_msg = idmap_pipe_destroy_msg,
382}; 382};
383 383
384struct key_type key_type_id_resolver_legacy = { 384static struct key_type key_type_id_resolver_legacy = {
385 .name = "id_resolver", 385 .name = "id_resolver",
386 .instantiate = user_instantiate, 386 .instantiate = user_instantiate,
387 .match = user_match, 387 .match = user_match,