Tom Tucker wrote: > Export svc_sock_enqueue() and svc_sock_received() so they > can be used by sunrpc server transport implementations > (even future modular ones). > > Signed-off-by: Greg Banks > Signed-off-by: Peter Leckie > Signed-off-by: Tom Tucker > --- > > include/linux/sunrpc/svcsock.h | 2 ++ > net/sunrpc/svcsock.c | 7 ++++--- > 2 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h > index 4e24e6d..0145057 100644 > --- a/include/linux/sunrpc/svcsock.h > +++ b/include/linux/sunrpc/svcsock.h > @@ -108,6 +108,8 @@ int svc_addsock(struct svc_serv *serv, > int fd, > char *name_return, > int *proto); > +void svc_sock_enqueue(struct svc_sock *svsk); > +void svc_sock_received(struct svc_sock *svsk); If these aren't socket-specific, then I would rename them, and move them to a generic source file instead of keeping them in svcsock.c and svcsock.h.