diff options
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 6284807bd37e..3f559700788f 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -1032,19 +1032,19 @@ static int | |||
1032 | nfsd4_init_slabs(void) | 1032 | nfsd4_init_slabs(void) |
1033 | { | 1033 | { |
1034 | stateowner_slab = kmem_cache_create("nfsd4_stateowners", | 1034 | stateowner_slab = kmem_cache_create("nfsd4_stateowners", |
1035 | sizeof(struct nfs4_stateowner), 0, 0, NULL, NULL); | 1035 | sizeof(struct nfs4_stateowner), 0, 0, NULL); |
1036 | if (stateowner_slab == NULL) | 1036 | if (stateowner_slab == NULL) |
1037 | goto out_nomem; | 1037 | goto out_nomem; |
1038 | file_slab = kmem_cache_create("nfsd4_files", | 1038 | file_slab = kmem_cache_create("nfsd4_files", |
1039 | sizeof(struct nfs4_file), 0, 0, NULL, NULL); | 1039 | sizeof(struct nfs4_file), 0, 0, NULL); |
1040 | if (file_slab == NULL) | 1040 | if (file_slab == NULL) |
1041 | goto out_nomem; | 1041 | goto out_nomem; |
1042 | stateid_slab = kmem_cache_create("nfsd4_stateids", | 1042 | stateid_slab = kmem_cache_create("nfsd4_stateids", |
1043 | sizeof(struct nfs4_stateid), 0, 0, NULL, NULL); | 1043 | sizeof(struct nfs4_stateid), 0, 0, NULL); |
1044 | if (stateid_slab == NULL) | 1044 | if (stateid_slab == NULL) |
1045 | goto out_nomem; | 1045 | goto out_nomem; |
1046 | deleg_slab = kmem_cache_create("nfsd4_delegations", | 1046 | deleg_slab = kmem_cache_create("nfsd4_delegations", |
1047 | sizeof(struct nfs4_delegation), 0, 0, NULL, NULL); | 1047 | sizeof(struct nfs4_delegation), 0, 0, NULL); |
1048 | if (deleg_slab == NULL) | 1048 | if (deleg_slab == NULL) |
1049 | goto out_nomem; | 1049 | goto out_nomem; |
1050 | return 0; | 1050 | return 0; |