diff options
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index fcf98cfd4158..38ab9f67c5f4 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -186,15 +186,17 @@ small_smb_init(int smb_command, int wct, struct cifsTconInfo *tcon, | |||
186 | cifs_stats_inc(&tcon->num_smbs_sent); | 186 | cifs_stats_inc(&tcon->num_smbs_sent); |
187 | 187 | ||
188 | return rc; | 188 | return rc; |
189 | } | 189 | } |
190 | |||
191 | #ifdef CONFIG_CIFS_EXPERIMENTAL | ||
190 | int | 192 | int |
191 | small_smb_init_no_tcon(int smb_command, int wct, struct cifsSesInfo *ses, | 193 | small_smb_init_no_tc(const int smb_command, const int wct, |
192 | void **request_buf) | 194 | struct cifsSesInfo *ses, void **request_buf) |
193 | { | 195 | { |
194 | int rc; | 196 | int rc; |
195 | struct smb_hdr * buffer; | 197 | struct smb_hdr * buffer; |
196 | 198 | ||
197 | rc = small_smb_init(smb_command, wct, 0, request_buf); | 199 | rc = small_smb_init(smb_command, wct, NULL, request_buf); |
198 | if(rc) | 200 | if(rc) |
199 | return rc; | 201 | return rc; |
200 | 202 | ||
@@ -212,7 +214,7 @@ small_smb_init_no_tcon(int smb_command, int wct, struct cifsSesInfo *ses, | |||
212 | 214 | ||
213 | return rc; | 215 | return rc; |
214 | } | 216 | } |
215 | 217 | #endif /* CONFIG_CIFS_EXPERIMENTAL */ | |
216 | 218 | ||
217 | /* If the return code is zero, this function must fill in request_buf pointer */ | 219 | /* If the return code is zero, this function must fill in request_buf pointer */ |
218 | static int | 220 | static int |