summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4client.c')
-rw-r--r--fs/nfs/nfs4client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c
index 8f53455c4765..2548405da1f7 100644
--- a/fs/nfs/nfs4client.c
+++ b/fs/nfs/nfs4client.c
@@ -545,7 +545,7 @@ static int nfs4_match_client(struct nfs_client *pos, struct nfs_client *new,
545 */ 545 */
546int nfs40_walk_client_list(struct nfs_client *new, 546int nfs40_walk_client_list(struct nfs_client *new,
547 struct nfs_client **result, 547 struct nfs_client **result,
548 struct rpc_cred *cred) 548 const struct cred *cred)
549{ 549{
550 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id); 550 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id);
551 struct nfs_client *pos, *prev = NULL; 551 struct nfs_client *pos, *prev = NULL;
@@ -711,7 +711,7 @@ out_err:
711 */ 711 */
712int nfs41_walk_client_list(struct nfs_client *new, 712int nfs41_walk_client_list(struct nfs_client *new,
713 struct nfs_client **result, 713 struct nfs_client **result,
714 struct rpc_cred *cred) 714 const struct cred *cred)
715{ 715{
716 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id); 716 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id);
717 struct nfs_client *pos, *prev = NULL; 717 struct nfs_client *pos, *prev = NULL;