aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 1ac339b4f092..0402ebb9b490 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -5658,7 +5658,7 @@ int nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo)
5658 5658
5659static struct nfs4_slot *nfs4_alloc_slots(u32 max_slots, gfp_t gfp_flags) 5659static struct nfs4_slot *nfs4_alloc_slots(u32 max_slots, gfp_t gfp_flags)
5660{ 5660{
5661 return kcalloc(max_slots, sizeof(struct nfs4_slot), gfp_flags); 5661 return kmalloc_array(max_slots, sizeof(struct nfs4_slot), gfp_flags);
5662} 5662}
5663 5663
5664static void nfs4_add_and_init_slots(struct nfs4_slot_table *tbl, 5664static void nfs4_add_and_init_slots(struct nfs4_slot_table *tbl,