9
0
Fork 0

fs/nfs.c: use SUNRPC_PORT remote port by default

pico_socket_connect() needs remote_port != 0.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2015-07-19 23:07:11 +03:00 committed by Sascha Hauer
parent 357c3f1067
commit 3148c20faa
1 changed files with 1 additions and 1 deletions

View File

@ -1350,7 +1350,7 @@ static int nfs_probe(struct device_d *dev)
debug("nfs: server: %s path: %s\n", tmp, npriv->path);
npriv->con = net_udp_new(npriv->server, 0, nfs_handler, npriv);
npriv->con = net_udp_new(npriv->server, SUNRPC_PORT, nfs_handler, npriv);
if (IS_ERR(npriv->con)) {
ret = PTR_ERR(npriv->con);
goto err1;