aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.h
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2009-12-05 13:27:02 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-05 13:27:02 -0500
commit31f0960778c78198957cf02cc970d92b72b929e4 (patch)
treeb5d061437c4a952e0fe78006a2ad9186c2e6ecc9 /fs/nfs/callback.h
parentc79571a508801e055a0be583d6dc70bddad7bb64 (diff)
nfs41: V2 initial support for CB_RECALL_ANY
For now the clients returns _all_ the delegations of the specificed type it holds Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r--fs/nfs/callback.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h
index 07baa8254ca1..0ca830984c4b 100644
--- a/fs/nfs/callback.h
+++ b/fs/nfs/callback.h
@@ -106,6 +106,17 @@ struct cb_sequenceres {
106extern unsigned nfs4_callback_sequence(struct cb_sequenceargs *args, 106extern unsigned nfs4_callback_sequence(struct cb_sequenceargs *args,
107 struct cb_sequenceres *res); 107 struct cb_sequenceres *res);
108 108
109
110#define RCA4_TYPE_MASK_RDATA_DLG 0
111#define RCA4_TYPE_MASK_WDATA_DLG 1
112
113struct cb_recallanyargs {
114 struct sockaddr *craa_addr;
115 uint32_t craa_objs_to_keep;
116 uint32_t craa_type_mask;
117};
118
119extern unsigned nfs4_callback_recallany(struct cb_recallanyargs *args, void *dummy);
109#endif /* CONFIG_NFS_V4_1 */ 120#endif /* CONFIG_NFS_V4_1 */
110 121
111extern __be32 nfs4_callback_getattr(struct cb_getattrargs *args, struct cb_getattrres *res); 122extern __be32 nfs4_callback_getattr(struct cb_getattrargs *args, struct cb_getattrres *res);