NFS: Set default port for NFSv4, with support for AF_INET6
authorChuck Lever <chuck.lever@oracle.com>
Mon, 10 Dec 2007 19:58:00 +0000 (14:58 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:54 +0000 (02:05 -0500)
commit0d0f0c192df0282600c6d11c8cc252e7e7a80afc
tree06b3e96d326d243c266f9e1ae3ed3798080ab904
parent04dcd6e3aceedff9fcc96ce3014688d5b642d627
NFS: Set default port for NFSv4, with support for AF_INET6

Create a helper function to set the default NFS port for NFSv4 mount
points.  The helper supports both AF_INET and AF_INET6 family addresses.

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