summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorSargun Dhillon <sargun@sargun.me>2018-07-05 18:48:50 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-07-30 19:19:41 +0200
commit82b98ca566ca2af170eb0ab50cef09dd7335fa55 (patch)
tree10feac49203ef740d43cbf89cdbe0aa6f8fa36a3 /net/sunrpc/auth.c
parentpnfs/blocklayout: off by one in bl_map_stripe() (diff)
downloadlinux-82b98ca566ca2af170eb0ab50cef09dd7335fa55.tar.xz
linux-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.c')
-rw-r--r--net/sunrpc/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index d2623b9f23d6..661e2277f468 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -253,7 +253,7 @@ rpcauth_list_flavors(rpc_authflavor_t *array, int size)
EXPORT_SYMBOL_GPL(rpcauth_list_flavors);
struct rpc_auth *
-rpcauth_create(struct rpc_auth_create_args *args, struct rpc_clnt *clnt)
+rpcauth_create(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt)
{
struct rpc_auth *auth;
const struct rpc_authops *ops;