diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/auth_null.c | 2 | ||||
-rw-r--r-- | net/sunrpc/auth_unix.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c index f56767aaa927..2eccffa96ba1 100644 --- a/net/sunrpc/auth_null.c +++ b/net/sunrpc/auth_null.c | |||
@@ -118,6 +118,8 @@ struct rpc_auth null_auth = { | |||
118 | .au_cslack = 4, | 118 | .au_cslack = 4, |
119 | .au_rslack = 2, | 119 | .au_rslack = 2, |
120 | .au_ops = &authnull_ops, | 120 | .au_ops = &authnull_ops, |
121 | .au_flavor = RPC_AUTH_NULL, | ||
122 | .au_count = ATOMIC_INIT(0), | ||
121 | }; | 123 | }; |
122 | 124 | ||
123 | static | 125 | static |
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index df14b6bfbf10..74c7406a1054 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c | |||
@@ -225,6 +225,7 @@ struct rpc_auth unix_auth = { | |||
225 | .au_cslack = UNX_WRITESLACK, | 225 | .au_cslack = UNX_WRITESLACK, |
226 | .au_rslack = 2, /* assume AUTH_NULL verf */ | 226 | .au_rslack = 2, /* assume AUTH_NULL verf */ |
227 | .au_ops = &authunix_ops, | 227 | .au_ops = &authunix_ops, |
228 | .au_flavor = RPC_AUTH_UNIX, | ||
228 | .au_count = ATOMIC_INIT(0), | 229 | .au_count = ATOMIC_INIT(0), |
229 | .au_credcache = &unix_cred_cache, | 230 | .au_credcache = &unix_cred_cache, |
230 | }; | 231 | }; |