diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-30 16:05:22 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-30 19:06:31 -0400 |
commit | fac1e8e4ef417e958060a6c3a061cc1a180bd8ae (patch) | |
tree | 1ddba7b104171b39c9985610715049409cd7916e /fs/nfs/idmap.c | |
parent | 19d87ca3623956494b517f3abe0caf2616d55457 (diff) |
NFS: Keep module parameters in the generic NFS client
Otherwise we break backwards compatibility when v4 becomes a modules.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r-- | fs/nfs/idmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 1b5058b4043b..b701358c39c3 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -52,8 +52,6 @@ | |||
52 | 52 | ||
53 | #define NFS_UINT_MAXLEN 11 | 53 | #define NFS_UINT_MAXLEN 11 |
54 | 54 | ||
55 | /* Default cache timeout is 10 minutes */ | ||
56 | unsigned int nfs_idmap_cache_timeout = 600; | ||
57 | static const struct cred *id_resolver_cache; | 55 | static const struct cred *id_resolver_cache; |
58 | static struct key_type key_type_id_resolver_legacy; | 56 | static struct key_type key_type_id_resolver_legacy; |
59 | 57 | ||
@@ -366,7 +364,6 @@ static int nfs_idmap_lookup_id(const char *name, size_t namelen, const char *typ | |||
366 | } | 364 | } |
367 | 365 | ||
368 | /* idmap classic begins here */ | 366 | /* idmap classic begins here */ |
369 | module_param(nfs_idmap_cache_timeout, int, 0644); | ||
370 | 367 | ||
371 | enum { | 368 | enum { |
372 | Opt_find_uid, Opt_find_gid, Opt_find_user, Opt_find_group, Opt_find_err | 369 | Opt_find_uid, Opt_find_gid, Opt_find_user, Opt_find_group, Opt_find_err |