diff options
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r-- | fs/cifs/transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 000ac509c98a..e286db9f5ee2 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c | |||
@@ -265,6 +265,7 @@ smb_send2(struct socket *ssocket, struct kvec *iov, int n_vec, | |||
265 | cFYI(1, ("Sending smb: total_len %d", total_len)); | 265 | cFYI(1, ("Sending smb: total_len %d", total_len)); |
266 | dump_smb(smb_buffer, len); | 266 | dump_smb(smb_buffer, len); |
267 | 267 | ||
268 | i = 0; | ||
268 | while (total_len) { | 269 | while (total_len) { |
269 | rc = kernel_sendmsg(ssocket, &smb_msg, &iov[first_vec], | 270 | rc = kernel_sendmsg(ssocket, &smb_msg, &iov[first_vec], |
270 | n_vec - first_vec, total_len); | 271 | n_vec - first_vec, total_len); |