diff options
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r-- | fs/nfs/idmap.c | 8 |
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 */ |
56 | unsigned int nfs_idmap_cache_timeout = 600; | 56 | unsigned int nfs_idmap_cache_timeout = 600; |
57 | const struct cred *id_resolver_cache; | 57 | static const struct cred *id_resolver_cache; |
58 | struct key_type key_type_id_resolver_legacy; | 58 | static 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 | ||
163 | struct key_type key_type_id_resolver = { | 163 | static 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 | ||
384 | struct key_type key_type_id_resolver_legacy = { | 384 | static 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, |