diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index eb44ec929ca1..f3001f3626f6 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -308,7 +308,7 @@ __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, | |||
308 | 308 | ||
309 | serv->sv_nrpools = npools; | 309 | serv->sv_nrpools = npools; |
310 | serv->sv_pools = | 310 | serv->sv_pools = |
311 | kcalloc(sizeof(struct svc_pool), serv->sv_nrpools, | 311 | kcalloc(serv->sv_nrpools, sizeof(struct svc_pool), |
312 | GFP_KERNEL); | 312 | GFP_KERNEL); |
313 | if (!serv->sv_pools) { | 313 | if (!serv->sv_pools) { |
314 | kfree(serv); | 314 | kfree(serv); |