SUNRPC: Relocate svc_free_res_pages()
authorChuck Lever <chuck.lever@oracle.com>
Sat, 15 Apr 2023 00:17:56 +0000 (20:17 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 26 Apr 2023 13:05:01 +0000 (09:05 -0400)
commitb20cb39def085723868972182fb58fa906839a4f
tree7b5d31e18654e9138eca5fc79059ae9898b07511
parent92e4a6733f922f0fef1d0995f7b2d0eaff86c7ea
SUNRPC: Relocate svc_free_res_pages()

Clean-up: There doesn't seem to be a reason why this function is
stuck in a header. One thing it prevents is the convenient addition
of tracing. Moving it to a source file also makes the rq_respages
clean-up logic easier to find.

Reviewed-by: Calum Mackay <calum.mackay@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c
net/sunrpc/svc_xprt.c