NFS: Add nfs_client behavior flags
authorChuck Lever <chuck.lever@oracle.com>
Tue, 22 May 2012 02:46:07 +0000 (22:46 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 May 2012 20:45:47 +0000 (16:45 -0400)
commit4bf590e08f6db3395c181618a4c14f1c39b7c4af
treea55286e214564ef1bea4cb270258b75e849268c1
parent8cab4c390b43fe34c07bd33799c1bc24be648122
NFS: Add nfs_client behavior flags

"noresvport" and "discrtry" can be passed to nfs_create_rpc_client()
by setting flags in the passed-in nfs_client.  This change makes it
easy to add new flags.

Note that these settings are now "sticky" over the lifetime of a
struct nfs_client, and may even be copied when an nfs_client is
cloned.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/internal.h
include/linux/nfs_fs_sb.h
include/linux/nfs_xdr.h