NFS: "[no]resvport" mount option changes mountd client too
authorChuck Lever <chuck.lever@oracle.com>
Tue, 23 Dec 2008 20:21:37 +0000 (15:21 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 20:21:37 +0000 (15:21 -0500)
commit50a737f86dbf99daf3a8dcbdf778a3be36bb2a39
tree0abbef9c62457660d22e1dc34409513d83ebc59f
parentd740351bf0960e89ce1aef45cfe00167cb0f9e5b
NFS: "[no]resvport" mount option changes mountd client too

If the admin has specified the "noresvport" option for an NFS mount
point, the kernel's NFS client uses an unprivileged source port for
the main NFS transport.  The kernel's mountd client should use an
unprivileged port in this case as well.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/mount_clnt.c
fs/nfs/super.c