Aurélien Aptel <aaptel@xxxxxxxx> writes: > Paulo Alcantara <pc@xxxxxx> writes: >> diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c >> index e27e255d40dd..55853b9ed13d 100644 >> --- a/fs/cifs/transport.c >> +++ b/fs/cifs/transport.c >> @@ -338,10 +338,8 @@ __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, >> if (ssocket == NULL) >> return -EAGAIN; >> >> - if (signal_pending(current)) { >> - cifs_dbg(FYI, "signal is pending before sending any data\n"); >> - return -EINTR; >> - } >> + if (signal_pending(current)) >> + return -ERESTARTSYS; > > Can we keep the debug message call? Yes. Steve, could you please update for-next with above debug msg?