]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11cde3031149505fa93d91b742c689939322a02f
treea55286e214564ef1bea4cb270258b75e849268c1
parenta8da6f25138be421e879bc519a0f7cc183d52ffb
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