@@ -110,8 +110,8 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
110110 struct list_head * tmp1 , * tmp2 , * tmp3 ;
111111 struct mid_q_entry * mid_entry ;
112112 struct TCP_Server_Info * server ;
113- struct cifsSesInfo * ses ;
114- struct cifsTconInfo * tcon ;
113+ struct cifs_ses * ses ;
114+ struct cifs_tcon * tcon ;
115115 int i , j ;
116116 __u32 dev_type ;
117117
@@ -152,7 +152,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
152152 tcp_ses_list );
153153 i ++ ;
154154 list_for_each (tmp2 , & server -> smb_ses_list ) {
155- ses = list_entry (tmp2 , struct cifsSesInfo ,
155+ ses = list_entry (tmp2 , struct cifs_ses ,
156156 smb_ses_list );
157157 if ((ses -> serverDomain == NULL ) ||
158158 (ses -> serverOS == NULL ) ||
@@ -171,7 +171,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
171171 seq_printf (m , "TCP status: %d\n\tLocal Users To "
172172 "Server: %d SecMode: 0x%x Req On Wire: %d" ,
173173 server -> tcpStatus , server -> srv_count ,
174- server -> secMode ,
174+ server -> sec_mode ,
175175 atomic_read (& server -> inFlight ));
176176
177177#ifdef CONFIG_CIFS_STATS2
@@ -183,7 +183,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
183183 seq_puts (m , "\n\tShares:" );
184184 j = 0 ;
185185 list_for_each (tmp3 , & ses -> tcon_list ) {
186- tcon = list_entry (tmp3 , struct cifsTconInfo ,
186+ tcon = list_entry (tmp3 , struct cifs_tcon ,
187187 tcon_list );
188188 ++ j ;
189189 dev_type = le32_to_cpu (tcon -> fsDevInfo .DeviceType );
@@ -256,8 +256,8 @@ static ssize_t cifs_stats_proc_write(struct file *file,
256256 int rc ;
257257 struct list_head * tmp1 , * tmp2 , * tmp3 ;
258258 struct TCP_Server_Info * server ;
259- struct cifsSesInfo * ses ;
260- struct cifsTconInfo * tcon ;
259+ struct cifs_ses * ses ;
260+ struct cifs_tcon * tcon ;
261261
262262 rc = get_user (c , buffer );
263263 if (rc )
@@ -273,11 +273,11 @@ static ssize_t cifs_stats_proc_write(struct file *file,
273273 server = list_entry (tmp1 , struct TCP_Server_Info ,
274274 tcp_ses_list );
275275 list_for_each (tmp2 , & server -> smb_ses_list ) {
276- ses = list_entry (tmp2 , struct cifsSesInfo ,
276+ ses = list_entry (tmp2 , struct cifs_ses ,
277277 smb_ses_list );
278278 list_for_each (tmp3 , & ses -> tcon_list ) {
279279 tcon = list_entry (tmp3 ,
280- struct cifsTconInfo ,
280+ struct cifs_tcon ,
281281 tcon_list );
282282 atomic_set (& tcon -> num_smbs_sent , 0 );
283283 atomic_set (& tcon -> num_writes , 0 );
@@ -312,8 +312,8 @@ static int cifs_stats_proc_show(struct seq_file *m, void *v)
312312 int i ;
313313 struct list_head * tmp1 , * tmp2 , * tmp3 ;
314314 struct TCP_Server_Info * server ;
315- struct cifsSesInfo * ses ;
316- struct cifsTconInfo * tcon ;
315+ struct cifs_ses * ses ;
316+ struct cifs_tcon * tcon ;
317317
318318 seq_printf (m ,
319319 "Resources in use\nCIFS Session: %d\n" ,
@@ -346,11 +346,11 @@ static int cifs_stats_proc_show(struct seq_file *m, void *v)
346346 server = list_entry (tmp1 , struct TCP_Server_Info ,
347347 tcp_ses_list );
348348 list_for_each (tmp2 , & server -> smb_ses_list ) {
349- ses = list_entry (tmp2 , struct cifsSesInfo ,
349+ ses = list_entry (tmp2 , struct cifs_ses ,
350350 smb_ses_list );
351351 list_for_each (tmp3 , & ses -> tcon_list ) {
352352 tcon = list_entry (tmp3 ,
353- struct cifsTconInfo ,
353+ struct cifs_tcon ,
354354 tcon_list );
355355 i ++ ;
356356 seq_printf (m , "\n%d) %s" , i , tcon -> treeName );
0 commit comments