diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-07-15 15:52:06 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-08-10 14:18:35 -0400 |
commit | 438623a06bacd69c40c4af633bb09a3bbb9dfc78 (patch) | |
tree | c1360c030f7871fb0da5510fbca927952878cf46 /drivers/acpi/viot.c | |
parent | 69f2cd6df3ee07ae88befafc038d4dd9154e2799 (diff) | |
download | linux-stable-438623a06bacd69c40c4af633bb09a3bbb9dfc78.tar.gz linux-stable-438623a06bacd69c40c4af633bb09a3bbb9dfc78.tar.bz2 linux-stable-438623a06bacd69c40c4af633bb09a3bbb9dfc78.zip |
SUNRPC: Add svc_rqst::rq_auth_stat
I'd like to take commit 4532608d71c8 ("SUNRPC: Clean up generic
dispatcher code") even further by using only private local SVC
dispatchers for all kernel RPC services. This change would enable
the removal of the logic that switches between
svc_generic_dispatch() and a service's private dispatcher, and
simplify the invocation of the service's pc_release method
so that humans can visually verify that it is always invoked
properly.
All that will come later.
First, let's provide a better way to return authentication errors
from SVC dispatcher functions. Instead of overloading the dispatch
method's *statp argument, add a field to struct svc_rqst that can
hold an error value.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'drivers/acpi/viot.c')
0 files changed, 0 insertions, 0 deletions