]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02da73cb8172dd9d75c6e8d724ea8199856378ad
tree47092ef0ac344736a78afadd71e4808e4fe63dcc
parent3cc4388b9a8d8f930f312ab31d7fcf7ff33228ca
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