diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 11380601fc78..ba114faf195f 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -1094,8 +1094,8 @@ struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *data, | |||
1094 | /* Get a client representation. | 1094 | /* Get a client representation. |
1095 | * Note: NFSv4 always uses TCP, */ | 1095 | * Note: NFSv4 always uses TCP, */ |
1096 | error = nfs4_set_client(server, data->hostname, | 1096 | error = nfs4_set_client(server, data->hostname, |
1097 | (struct sockaddr *)data->addr, | 1097 | data->addr, |
1098 | sizeof(*data->addr), | 1098 | data->addrlen, |
1099 | parent_client->cl_ipaddr, | 1099 | parent_client->cl_ipaddr, |
1100 | data->authflavor, | 1100 | data->authflavor, |
1101 | parent_server->client->cl_xprt->prot, | 1101 | parent_server->client->cl_xprt->prot, |