diff options
author | Jeff Layton <jlayton@primarydata.com> | 2015-06-08 21:06:51 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-08-10 22:05:42 +0200 |
commit | b9e13cdfac70e38ade17b53810a36968c5842339 (patch) | |
tree | ec666a325348130a4d1118d2d58373af21881532 /fs/lockd/svc.c | |
parent | nfsd/sunrpc: move sv_module parm into sv_ops (diff) | |
download | linux-b9e13cdfac70e38ade17b53810a36968c5842339.tar.xz linux-b9e13cdfac70e38ade17b53810a36968c5842339.zip |
nfsd/sunrpc: turn enqueueing a svc_xprt into a svc_serv operation
For now, all services use svc_xprt_do_enqueue, but once we add
workqueue-based service support, we'll need to do something different.
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>
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r-- | fs/lockd/svc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 4182b2f925cd..530914b5c455 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -323,7 +323,8 @@ out_rqst: } static struct svc_serv_ops lockd_sv_ops = { - .svo_shutdown = svc_rpcb_cleanup, + .svo_shutdown = svc_rpcb_cleanup, + .svo_enqueue_xprt = svc_xprt_do_enqueue, }; static struct svc_serv *lockd_create_svc(void) |