[CIFS] fix error in smb_send2
authorSteve French <sfrench@us.ibm.com>
Thu, 30 Oct 2008 20:15:22 +0000 (20:15 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Oct 2008 20:15:22 +0000 (20:15 +0000)
commit61de800d33af585cb7e6f27b5cdd51029c6855cb
tree3b16b4cca031c646a30a55218adfed6e0c59332e
parentedf1ae403896cb7750800508b14996ba6be39a53
[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>
fs/cifs/cifssmb.c
fs/cifs/file.c
fs/cifs/transport.c