NFS: Make clientaddr= optional
authorChuck Lever <chuck.lever@oracle.com>
Thu, 1 Mar 2012 22:01:23 +0000 (17:01 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 2 Mar 2012 22:18:04 +0000 (17:18 -0500)
commit31b8e2aec099f22d40277c424d8c24b2a4c95fce
tree47092ef0ac344736a78afadd71e4808e4fe63dcc
parent2e738fdce22f9a7edf20281fd2d768ef9785922e
NFS: Make clientaddr= optional

For NFSv4 mounts, the clientaddr= mount option has always been
required.  Now we have rpc_localaddr() in the kernel, which was
modeled after the same logic in the mount.nfs command that constructs
the clientaddr= mount option.  If user space doesn't provide a
clientaddr= mount option, the kernel can now construct its own.

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