aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-06-16 09:52:26 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-06-22 13:24:02 -0400
commit97dc135947181a6670949a480da56c3ebf8d3715 (patch)
tree2e5a766941516f8bbcec3b816901a76a45fc78c5 /fs/nfs/nfs4_fs.h
parenta2118c33aad6c447ad5e0a60cfaea3939b52ce0a (diff)
NFSv41: Clean up the NFSv4.1 minor version specific operations
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index bb1e95530699..5b01705e30f9 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -52,6 +52,16 @@ enum nfs4_session_state {
52 NFS4_SESSION_DRAINING, 52 NFS4_SESSION_DRAINING,
53}; 53};
54 54
55struct nfs4_minor_version_ops {
56 u32 minor_version;
57
58 int (*call_sync)(struct nfs_server *server,
59 struct rpc_message *msg,
60 struct nfs4_sequence_args *args,
61 struct nfs4_sequence_res *res,
62 int cache_reply);
63};
64
55/* 65/*
56 * struct rpc_sequence ensures that RPC calls are sent in the exact 66 * struct rpc_sequence ensures that RPC calls are sent in the exact
57 * order that they appear on the list. 67 * order that they appear on the list.
@@ -260,6 +270,7 @@ static inline int nfs4_init_session(struct nfs_server *server)
260} 270}
261#endif /* CONFIG_NFS_V4_1 */ 271#endif /* CONFIG_NFS_V4_1 */
262 272
273extern const struct nfs4_minor_version_ops *nfs_v4_minor_ops[];
263extern struct nfs4_state_maintenance_ops *nfs4_state_renewal_ops[]; 274extern struct nfs4_state_maintenance_ops *nfs4_state_renewal_ops[];
264 275
265extern const u32 nfs4_fattr_bitmap[2]; 276extern const u32 nfs4_fattr_bitmap[2];