diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index a10f51dfa7f5..ffc8757e5a3c 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -318,7 +318,7 @@ uncork: 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;