summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorChuck Lever2019-02-11 17:25:31 +0100
committerAnna Schumaker2019-02-14 17:17:47 +0100
commita00275baa68e1ee226cc659f54dc3a571f3ad600 (patch)
tree727a97615013552a814de9aa8288eb1309fedfb0 /net/sunrpc/auth_null.c
parentNFS: Account for XDR pad of buf->pages (diff)
downloadkernel-qcow2-linux-a00275baa68e1ee226cc659f54dc3a571f3ad600.tar.gz
kernel-qcow2-linux-a00275baa68e1ee226cc659f54dc3a571f3ad600.tar.xz
kernel-qcow2-linux-a00275baa68e1ee226cc659f54dc3a571f3ad600.zip
SUNRPC: Make AUTH_SYS and AUTH_NULL set au_verfsize
au_verfsize will be needed for a non-flavor-specific computation in a subsequent patch. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_null.c')
-rw-r--r--net/sunrpc/auth_null.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
index bf96975ffc4b..9ae08248a9e1 100644
--- a/net/sunrpc/auth_null.c
+++ b/net/sunrpc/auth_null.c
@@ -114,6 +114,7 @@ static
struct rpc_auth null_auth = {
.au_cslack = NUL_CALLSLACK,
.au_rslack = NUL_REPLYSLACK,
+ .au_verfsize = NUL_REPLYSLACK,
.au_ops = &authnull_ops,
.au_flavor = RPC_AUTH_NULL,
.au_count = REFCOUNT_INIT(1),