diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-04-15 02:17:56 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-04-26 15:05:01 +0200 |
commit | b20cb39def085723868972182fb58fa906839a4f (patch) | |
tree | 7b5d31e18654e9138eca5fc79059ae9898b07511 /net/sunrpc/svc_xprt.c | |
parent | nfsd: simplify the delayed disposal list code (diff) | |
download | linux-b20cb39def085723868972182fb58fa906839a4f.tar.xz linux-b20cb39def085723868972182fb58fa906839a4f.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | net/sunrpc/svc_xprt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index 36c79b718323..533e08c4f319 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -542,7 +542,7 @@ static void svc_xprt_release(struct svc_rqst *rqstp) rqstp->rq_deferred = NULL; pagevec_release(&rqstp->rq_pvec); - svc_free_res_pages(rqstp); + svc_rqst_release_pages(rqstp); rqstp->rq_res.page_len = 0; rqstp->rq_res.page_base = 0; |