Skip to content
Commit bcd2ea17 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix port initialisation in nfs_remount()

The recent changeset 53a0b9c4

 (NFS: Replace
nfs_parse_ip_address() with rpc_pton()) broke nfs_remount, since the call
to rpc_pton() will zero out the port number in data->nfs_server.address.

This is actually due to a bug in nfs_remount: it should be looking at the
port number in nfs_server.port instead...

This fixes bug
   http://bugzilla.kernel.org/show_bug.cgi?id=14276

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent f5855fec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment