SUNRPC: De-duplicate .pc_release() call sites
authorChuck Lever <chuck.lever@oracle.com>
Thu, 7 Oct 2021 20:17:31 +0000 (16:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 12 Oct 2021 14:13:57 +0000 (10:13 -0400)
commit5b747a594b19708e3933eb3ecf447739e930790e
treee6f66795b39d7c351e3ba1886cf1bb6132db8182
parent0ae93b99beb283438aa571a6add4eab0c077d576
SUNRPC: De-duplicate .pc_release() call sites

There was some spaghetti in svc_process_common() that had evolved
over time such that there was still one case that needed a call
to .pc_release() but never made it. That issue was removed in
the previous patch.

As additional insurance against missing this important callout,
ensure that the .pc_release() method is always called, no matter
what the reply_stat is.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc.c