diff options
author | Steve French <sfrench@us.ibm.com> | 2008-10-30 20:15:22 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-10-30 20:15:22 +0000 |
commit | 61de800d33af585cb7e6f27b5cdd51029c6855cb (patch) | |
tree | 3b16b4cca031c646a30a55218adfed6e0c59332e /fs/cifs/cifssmb.c | |
parent | edf1ae403896cb7750800508b14996ba6be39a53 (diff) | |
download | linux-61de800d33af585cb7e6f27b5cdd51029c6855cb.tar.bz2 |
[CIFS] fix error in smb_send2
smb_send2 exit logic was strange, and with the previous change
could cause us to fail large
smb writes when all of the smb was not sent as one chunk.
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 843a85fb8b9a..d5eac48fc415 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -1536,7 +1536,7 @@ CIFSSMBWrite(const int xid, struct cifsTconInfo *tcon, __u32 bytes_sent; __u16 byte_count; - /* cFYI(1,("write at %lld %d bytes",offset,count));*/ + /* cFYI(1, ("write at %lld %d bytes", offset, count));*/ if (tcon->ses == NULL) return -ECONNABORTED; |