diff options
Diffstat (limited to 'fs/nfsd/nfs4idmap.c')
-rw-r--r-- | fs/nfsd/nfs4idmap.c | 4 |
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 *); | |||
178 | static struct ent *idtoname_update(struct cache_detail *, struct ent *, | 178 | static struct ent *idtoname_update(struct cache_detail *, struct ent *, |
179 | struct ent *); | 179 | struct ent *); |
180 | 180 | ||
181 | static struct cache_detail idtoname_cache_template = { | 181 | static 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 *); |
342 | static int nametoid_parse(struct cache_detail *, char *, int); | 342 | static int nametoid_parse(struct cache_detail *, char *, int); |
343 | 343 | ||
344 | static struct cache_detail nametoid_cache_template = { | 344 | static 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", |