Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d804d41d authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: don't pop a printk when sending on a socket is interrupted



If we kill the process while it's sending on a socket then the
kernel_sendmsg will return -EINTR. This is normal. No need to spam the
ring buffer with this info.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 68abaffa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -236,9 +236,9 @@ smb_sendv(struct TCP_Server_Info *server, struct kvec *iov, int n_vec)
		server->tcpStatus = CifsNeedReconnect;
	}

	if (rc < 0) {
	if (rc < 0 && rc != -EINTR)
		cERROR(1, "Error %d sending data on socket to server", rc);
	} else
	else
		rc = 0;

	/* Don't want to modify the buffer as a