diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index a610381f814051c6b4888f663f8293fa0b75889f..005c2af9d696ef12b5f8358b5f9e64fd44b3c3cb 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -378,7 +378,7 @@ __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, if (rc < 0 && rc != -EINTR) cifs_dbg(VFS, "Error %d sending data on socket to server\n", rc); - else + else if (rc > 0) rc = 0; return rc;