aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorSargun Dhillon <sargun@sargun.me>2018-07-05 16:48:50 +0000
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-07-30 13:19:41 -0400
commit82b98ca566ca2af170eb0ab50cef09dd7335fa55 (patch)
tree10feac49203ef740d43cbf89cdbe0aa6f8fa36a3 /net/sunrpc/auth_null.c
parentpnfs/blocklayout: off by one in bl_map_stripe() (diff)
downloadlinux-dev-82b98ca566ca2af170eb0ab50cef09dd7335fa55.tar.xz
linux-dev-82b98ca566ca2af170eb0ab50cef09dd7335fa55.zip
net/sunrpc: Make rpc_auth_create_args a const
This turns rpc_auth_create_args into a const as it gets passed through the auth stack. Signed-off-by: Sargun Dhillon <sargun@sargun.me> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_null.c')
-rw-r--r--net/sunrpc/auth_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
index 75d72e109a04..4b48228ee8c7 100644
--- a/net/sunrpc/auth_null.c
+++ b/net/sunrpc/auth_null.c
@@ -19,7 +19,7 @@ static struct rpc_auth null_auth;
static struct rpc_cred null_cred;
static struct rpc_auth *
-nul_create(struct rpc_auth_create_args *args, struct rpc_clnt *clnt)
+nul_create(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt)
{
atomic_inc(&null_auth.au_count);
return &null_auth;