diff options
author | NeilBrown <neilb@suse.de> | 2023-07-18 09:38:08 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-08-30 00:45:22 +0300 |
commit | f78116d3bf4fd7a84451e1a2adc35df7a63fbbf4 (patch) | |
tree | aaab44e3538626892b2decbab14013cd41ba098f /fs/nfs | |
parent | 9f28a971ee9fdf1bf8ce8c88b103f483be610277 (diff) | |
download | linux-f78116d3bf4fd7a84451e1a2adc35df7a63fbbf4.tar.xz |
SUNRPC: call svc_process() from svc_recv().
All callers of svc_recv() go on to call svc_process() on success.
Simplify callers by having svc_recv() do that for them.
This loses one call to validate_process_creds() in nfsd. That was
debugging code added 14 years ago. I don't think we need to keep it.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/callback.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 46a0a2d6962e..2d94384bd6a9 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c @@ -86,7 +86,6 @@ nfs4_callback_svc(void *vrqstp) err = svc_recv(rqstp, MAX_SCHEDULE_TIMEOUT); if (err == -EAGAIN || err == -EINTR) continue; - svc_process(rqstp); } svc_exit_thread(rqstp); |