summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4idmap.c')
-rw-r--r--fs/nfsd/nfs4idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c
index 6b9b6cca469f..a5bb76593ce7 100644
--- a/fs/nfsd/nfs4idmap.c
+++ b/fs/nfsd/nfs4idmap.c
@@ -178,7 +178,7 @@ static struct ent *idtoname_lookup(struct cache_detail *, struct ent *);
178static struct ent *idtoname_update(struct cache_detail *, struct ent *, 178static struct ent *idtoname_update(struct cache_detail *, struct ent *,
179 struct ent *); 179 struct ent *);
180 180
181static struct cache_detail idtoname_cache_template = { 181static const struct cache_detail idtoname_cache_template = {
182 .owner = THIS_MODULE, 182 .owner = THIS_MODULE,
183 .hash_size = ENT_HASHMAX, 183 .hash_size = ENT_HASHMAX,
184 .name = "nfs4.idtoname", 184 .name = "nfs4.idtoname",
@@ -341,7 +341,7 @@ static struct ent *nametoid_update(struct cache_detail *, struct ent *,
341 struct ent *); 341 struct ent *);
342static int nametoid_parse(struct cache_detail *, char *, int); 342static int nametoid_parse(struct cache_detail *, char *, int);
343 343
344static struct cache_detail nametoid_cache_template = { 344static const struct cache_detail nametoid_cache_template = {
345 .owner = THIS_MODULE, 345 .owner = THIS_MODULE,
346 .hash_size = ENT_HASHMAX, 346 .hash_size = ENT_HASHMAX,
347 .name = "nfs4.nametoid", 347 .name = "nfs4.nametoid",