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)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 4 Sep 2012 18:52:43 +0000 (14:52 -0400)
commit872ece86ea5c367aa92f44689c2d01a1c767aeb3
treedc1ab69330736e0f8ab355187c3d5c4f3a2e7042
parentc3f52af3e03013db5237e339c817beaae5ec9e3a
NFS: Fix a problem with the legacy binary mount code

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>
Cc: stable@vger.kernel.org
fs/nfs/super.c