summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-16 00:11:57 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-25 20:04:11 +0400
commit39c6daae70fe7692fc2d28738c7ebd63f0318741 (patch)
tree123246157abfaed0d4a61d5aeb3c8c6e2ffb7e65 /fs/nfs/nfs4_fs.h
parent5521abfdcf4d67c3441d4414f29e1acd7cc43380 (diff)
downloadlinux-39c6daae70fe7692fc2d28738c7ebd63f0318741.tar.xz
NFSv4: Prepare for minorversion-specific nfs_server capabilities
Clean up the setting of the nfs_server->caps, by shoving it all into nfs4_server_common_setup(). Then add an 'initial capabilities' field into struct nfs4_minor_version_ops. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 627a74f0e248..7ef19ce6d832 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -36,6 +36,7 @@ enum nfs4_client_state {
struct nfs4_minor_version_ops {
u32 minor_version;
+ unsigned init_caps;
int (*call_sync)(struct rpc_clnt *clnt,
struct nfs_server *server,