]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SUNRPC: make various functions static, or not exported.
authorNeilBrown <neilb@suse.de>
Mon, 15 Jul 2024 07:14:15 +0000 (17:14 +1000)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 1 Sep 2024 14:04:56 +0000 (10:04 -0400)
commitf2b27e1d72527f94f030b6356b3187576e60885b
tree6c0e3622e3d67bcf8fcd539834418207d1e28039
parent4ed9ef32606386efc562bada891d7baa16fc46b4
SUNRPC: make various functions static, or not exported.

Various functions are only used within the sunrpc module, and several
are only use in the one file.  So clean up:

These are marked static, and any EXPORT is removed.
  svc_rcpb_setup()
  svc_rqst_alloc()
  svc_rqst_free()  - also moved before first use
  svc_rpcbind_set_version()
  svc_drop() - also moved to svc.c

These are now not EXPORTed, but are not static.
  svc_authenticate()
  svc_sock_update_bufs()

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc.h
include/linux/sunrpc/svcauth.h
include/linux/sunrpc/svcsock.h
net/sunrpc/sunrpc.h
net/sunrpc/svc.c
net/sunrpc/svc_xprt.c
net/sunrpc/svcauth.c
net/sunrpc/svcsock.c