]> git.baikalelectronics.ru Git - kernel.git/commitdiff
SUNRPC: remove RPCAUTH_AUTH_NO_CRKEY_TIMEOUT
authorNeilBrown <neilb@suse.com>
Mon, 3 Dec 2018 00:30:30 +0000 (11:30 +1100)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Dec 2018 18:52:45 +0000 (13:52 -0500)
This is no longer used.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/auth.h
net/sunrpc/auth_null.c
net/sunrpc/auth_unix.c

index 0bdc2f4957ff08912a22a0ab6aec0e8f2c0c798c..d8cf742f80324e0599281277d6cedb1bef69763e 100644 (file)
@@ -69,9 +69,6 @@ struct rpc_cred {
 
 struct rpc_cred *rpc_machine_cred(void);
 
-/* rpc_auth au_flags */
-#define RPCAUTH_AUTH_NO_CRKEY_TIMEOUT  0x0001 /* underlying cred has no key timeout */
-
 /*
  * Client authentication handle
  */
index 2694a1bc026b89f8f53af6bebd257f652f3378d4..135c75d6c47062929c527db4279d633f3546f5c4 100644 (file)
@@ -116,7 +116,6 @@ static
 struct rpc_auth null_auth = {
        .au_cslack      = NUL_CALLSLACK,
        .au_rslack      = NUL_REPLYSLACK,
-       .au_flags       = RPCAUTH_AUTH_NO_CRKEY_TIMEOUT,
        .au_ops         = &authnull_ops,
        .au_flavor      = RPC_AUTH_NULL,
        .au_count       = REFCOUNT_INIT(1),
index 7d4099fc18e79fed717a1b331448bc3caec0fdfc..6ee43bfbfb4bd0d45bafbbe7ecdea1f46bbb80dd 100644 (file)
@@ -237,7 +237,6 @@ static
 struct rpc_auth                unix_auth = {
        .au_cslack      = UNX_CALLSLACK,
        .au_rslack      = NUL_REPLYSLACK,
-       .au_flags       = RPCAUTH_AUTH_NO_CRKEY_TIMEOUT,
        .au_ops         = &authunix_ops,
        .au_flavor      = RPC_AUTH_UNIX,
        .au_count       = REFCOUNT_INIT(1),