NFS: Make setting a port number agostic
authorChuck Lever <chuck.lever@oracle.com>
Mon, 10 Dec 2007 19:57:53 +0000 (14:57 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:53 +0000 (02:05 -0500)
commit04dcd6e3aceedff9fcc96ce3014688d5b642d627
tree814b5d9eab6f7c6600efc4d6b1553f5d346afd26
parentcdcd7f9abc8c95524376835fbe8e11c5f7bf588e
NFS: Make setting a port number agostic

We'll need to set the port number of an AF_INET or AF_INET6 address in
several places in fs/nfs/super.c, so introduce a helper that can manage
this for us.  We put this helper to immediate use.

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