nfsd/sunrpc: factor svc_rqst allocation and freeing from sv_nrthreads refcounting
authorJeff Layton <jlayton@primarydata.com>
Mon, 8 Jun 2015 19:11:10 +0000 (12:11 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Aug 2015 20:05:44 +0000 (16:05 -0400)
commit1b6dc1dffbb142de60eb65f6155276ac31ff5474
tree8bb76e3d6a7b1d1e8de1459c042a1a0734d15798
parentd70bc0c67c7aaf0d00084b2f91b44fe1a8ae4e15
nfsd/sunrpc: factor svc_rqst allocation and freeing from sv_nrthreads refcounting

In later patches, we'll want to be able to allocate and free svc_rqst
structures without monkeying with the serv->sv_nrthreads refcount.

Factor those pieces out of their respective functions.

Signed-off-by: Shirley Ma <shirley.ma@oracle.com>
Acked-by: Jeff Layton <jlayton@primarydata.com>
Tested-by: Shirley Ma <shirley.ma@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c