Skip to content

Commit 2d9b9ec

Browse files
author
Benny Halevy
committed
nfs41: cb_sequence protocol level data structures
Signed-off-by: Benny Halevy <[email protected]>
1 parent 34bc47c commit 2d9b9ec

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

fs/nfs/callback.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,41 @@ struct cb_recallargs {
7070
uint32_t truncate;
7171
};
7272

73+
#if defined(CONFIG_NFS_V4_1)
74+
75+
struct referring_call {
76+
uint32_t rc_sequenceid;
77+
uint32_t rc_slotid;
78+
};
79+
80+
struct referring_call_list {
81+
struct nfs4_sessionid rcl_sessionid;
82+
uint32_t rcl_nrefcalls;
83+
struct referring_call *rcl_refcalls;
84+
};
85+
86+
struct cb_sequenceargs {
87+
struct sockaddr_in *csa_addr;
88+
struct nfs4_sessionid csa_sessionid;
89+
uint32_t csa_sequenceid;
90+
uint32_t csa_slotid;
91+
uint32_t csa_highestslotid;
92+
uint32_t csa_cachethis;
93+
uint32_t csa_nrclists;
94+
struct referring_call_list *csa_rclists;
95+
};
96+
97+
struct cb_sequenceres {
98+
uint32_t csr_status;
99+
struct nfs4_sessionid csr_sessionid;
100+
uint32_t csr_sequenceid;
101+
uint32_t csr_slotid;
102+
uint32_t csr_highestslotid;
103+
uint32_t csr_target_highestslotid;
104+
};
105+
106+
#endif /* CONFIG_NFS_V4_1 */
107+
73108
extern __be32 nfs4_callback_getattr(struct cb_getattrargs *args, struct cb_getattrres *res);
74109
extern __be32 nfs4_callback_recall(struct cb_recallargs *args, void *dummy);
75110

0 commit comments

Comments
 (0)