diff options
Diffstat (limited to 'include/linux/nfsd/state.h')
-rw-r--r-- | include/linux/nfsd/state.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index a6c87d623891..58bb19784e12 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -127,6 +127,25 @@ struct nfsd4_channel_attrs { | |||
127 | u32 rdma_attrs; | 127 | u32 rdma_attrs; |
128 | }; | 128 | }; |
129 | 129 | ||
130 | struct nfsd4_create_session { | ||
131 | clientid_t clientid; | ||
132 | struct nfs4_sessionid sessionid; | ||
133 | u32 seqid; | ||
134 | u32 flags; | ||
135 | struct nfsd4_channel_attrs fore_channel; | ||
136 | struct nfsd4_channel_attrs back_channel; | ||
137 | u32 callback_prog; | ||
138 | u32 uid; | ||
139 | u32 gid; | ||
140 | }; | ||
141 | |||
142 | /* The single slot clientid cache structure */ | ||
143 | struct nfsd4_clid_slot { | ||
144 | u32 sl_seqid; | ||
145 | __be32 sl_status; | ||
146 | struct nfsd4_create_session sl_cr_ses; | ||
147 | }; | ||
148 | |||
130 | struct nfsd4_session { | 149 | struct nfsd4_session { |
131 | struct kref se_ref; | 150 | struct kref se_ref; |
132 | struct list_head se_hash; /* hash by sessionid */ | 151 | struct list_head se_hash; /* hash by sessionid */ |
@@ -193,7 +212,7 @@ struct nfs4_client { | |||
193 | 212 | ||
194 | /* for nfs41 */ | 213 | /* for nfs41 */ |
195 | struct list_head cl_sessions; | 214 | struct list_head cl_sessions; |
196 | struct nfsd4_slot cl_slot; /* create_session slot */ | 215 | struct nfsd4_clid_slot cl_cs_slot; /* create_session slot */ |
197 | u32 cl_exchange_flags; | 216 | u32 cl_exchange_flags; |
198 | struct nfs4_sessionid cl_sessionid; | 217 | struct nfs4_sessionid cl_sessionid; |
199 | }; | 218 | }; |