Skip to contentSkip to conversation

cifs: do not fail __smb_send_rqst if non-fatal signals are pending

PATCH Steve French 1 participant 1 message Jan 21, 2021 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

tentatively merged into cifs-2.6.git for-next

Quoted 25 lines · Ronnie Sahlberg

RHBZ 1848178

---
 fs/cifs/transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/transport.c +1 -2
index d629d3c03a9e..283e9022f049 100644
@@ -339,7 +339,7 @@ __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst,
        if (ssocket == NULL)
                return -EAGAIN;
 
-       if (signal_pending(current)) {
+       if (fatal_signal_pending(current)) {
                cifs_dbg(FYI, "signal pending before send request\n");
                return -ERESTARTSYS;
        }
--

2.13.6

Signature · 3 lines
Thanks,

Steve