Message ID | 20210125175234.2963573-2-marcelo.cerri@canonical.com |
---|---|
State | New |
Headers | show |
Series | LP:#1911438 - CIFS: Request for backport | expand |
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index eafc49de4d7f..6d6de183915b 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -340,8 +340,8 @@ __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, return -EAGAIN; if (signal_pending(current)) { - cifs_dbg(FYI, "signal is pending before sending any data\n"); - return -EINTR; + cifs_dbg(FYI, "signal pending before send request\n"); + return -ERESTARTSYS; } /* cork the socket */