Re: [PATCH] cifs: allow syscalls to be restarted in __smb_send_rqst()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 30, 2020 at 7:02 AM Paulo Alcantara <pc@xxxxxx> wrote:
>
> 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?

Done. Please check to see if my lightly modified debug message text is ok.

-- 
Thanks,

Steve




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux