nfsd/sunrpc: add a new svc_serv_ops struct and move sv_shutdown into it
authorJeff Layton <jlayton@primarydata.com>
Mon, 8 Jun 2015 19:03:32 +0000 (12:03 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Aug 2015 20:05:40 +0000 (16:05 -0400)
commitea126e74353453d15fc0a181910ae1e25162f2a1
tree649da943b8d6c391f0936971897165c0003a76d7
parentcc9a903d915c21626b6b2fbf8ed0ff16a7f82210
nfsd/sunrpc: add a new svc_serv_ops struct and move sv_shutdown into it

In later patches we'll need to abstract out more operations on a
per-service level, besides sv_shutdown and sv_function.

Declare a new svc_serv_ops struct to hold these operations, and move
sv_shutdown into this struct.

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>
fs/lockd/svc.c
fs/nfs/callback.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c