Trond Myklebust 692bae5b0a SUNRPC/nfs: Fix return value for nfs4_callback_compound()
commit 83dd59a0b9afc3b1a2642fb5c9b0585b1c08768f upstream.

RPC server procedures are normally expected to return a __be32 encoded
status value of type 'enum rpc_accept_stat', however at least one function
wants to return an authentication status of type 'enum rpc_auth_stat'
in the case where authentication fails.
This patch adds functionality to allow this.

Fixes: a4e187d83d88 ("NFS: Don't drop CB requests with invalid principals")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 11:47:47 +02:00
..
2018-08-09 12:56:38 -04:00
2020-01-17 19:47:04 +01:00
2019-09-21 07:17:02 +02:00
2018-05-31 15:02:16 -04:00