NFS: Fix port initialisation in nfs_remount()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Oct 2009 19:41:22 +0000 (15:41 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Oct 2009 19:41:22 +0000 (15:41 -0400)
commitbcd2ea17da6a329a7276cde7286d802f009af332
tree11344feb0c0c23175844b0cb86da589146e21370
parentf5855fecda65c1965c894915ace1e086d4925154
NFS: Fix port initialisation in nfs_remount()

The recent changeset 53a0b9c4c99ab0085a06421f71592722e5b3fd5f (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: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c