NFS: Fix a problem with the legacy binary mount code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 4 Sep 2012 15:05:07 +0000 (11:05 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Sep 2012 14:05:07 +0000 (15:05 +0100)
commit94757f8d13027373fc9e930b8b7258792a3dbe6b
treed4ec8a8536a4e066efd2d15641bccd80414226ed
parentad1a5fb246644fd0300de5adc8b1f4f221e631a8
NFS: Fix a problem with the legacy binary mount code

commit 872ece86ea5c367aa92f44689c2d01a1c767aeb3 upstream.

Apparently, am-utils is still using the legacy binary mountdata interface,
and is having trouble parsing /proc/mounts due to the 'port=' field being
incorrectly set.

The following patch should fix up the regression.

Reported-by: Marius Tolzmann <tolzmann@molgen.mpg.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/super.c