aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 1eeba8e53802..9c85cdb353aa 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1409,7 +1409,7 @@ static int nfs_try_mount(struct nfs_parsed_mount_data *args,
1409 /* 1409 /*
1410 * autobind will be used if mount_server.port == 0 1410 * autobind will be used if mount_server.port == 0
1411 */ 1411 */
1412 nfs_set_port(request.sap, args->mount_server.port); 1412 rpc_set_port(request.sap, args->mount_server.port);
1413 1413
1414 /* 1414 /*
1415 * Now ask the mount server to map our export path 1415 * Now ask the mount server to map our export path
@@ -1703,7 +1703,7 @@ static int nfs_validate_mount_data(void *options,
1703 &args->nfs_server.address)) 1703 &args->nfs_server.address))
1704 goto out_no_address; 1704 goto out_no_address;
1705 1705
1706 nfs_set_port((struct sockaddr *)&args->nfs_server.address, 1706 rpc_set_port((struct sockaddr *)&args->nfs_server.address,
1707 args->nfs_server.port); 1707 args->nfs_server.port);
1708 1708
1709 nfs_set_mount_transport_protocol(args); 1709 nfs_set_mount_transport_protocol(args);
@@ -2336,7 +2336,7 @@ static int nfs4_validate_mount_data(void *options,
2336 &args->nfs_server.address)) 2336 &args->nfs_server.address))
2337 return -EINVAL; 2337 return -EINVAL;
2338 2338
2339 nfs_set_port((struct sockaddr *)&args->nfs_server.address, 2339 rpc_set_port((struct sockaddr *)&args->nfs_server.address,
2340 args->nfs_server.port); 2340 args->nfs_server.port);
2341 2341
2342 nfs_validate_transport_protocol(args); 2342 nfs_validate_transport_protocol(args);