git: 6c13732570b7 - stable/15 - clnt_bck.c: Delete a couple of old diagnostic printfs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Apr 2026 00:55:27 UTC
The branch stable/15 has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c13732570b7e09dc5155055e421ebe8c90dad48
commit 6c13732570b7e09dc5155055e421ebe8c90dad48
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2026-03-25 20:53:22 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2026-04-08 00:54:18 +0000
clnt_bck.c: Delete a couple of old diagnostic printfs
There were two debug printf()s that were left in the
code while debugging the handling of callbacks over
a NFSv4.1/4.2 backchannel was being done.
This patch removes them, since they are no longer
of benefit and cause "noise".
(cherry picked from commit 41b423cc4e4dfe3132bb5d287bba03b82ecb5be8)
---
sys/rpc/clnt_bck.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/rpc/clnt_bck.c b/sys/rpc/clnt_bck.c
index 7e4781ec7e9d..c5cbbf045bdc 100644
--- a/sys/rpc/clnt_bck.c
+++ b/sys/rpc/clnt_bck.c
@@ -314,10 +314,8 @@ call_again:
*/
sx_xlock(&xprt->xp_lock);
error = sosend(xprt->xp_socket, NULL, NULL, mreq, NULL, 0, curthread);
-if (error != 0) printf("sosend=%d\n", error);
mreq = NULL;
if (error == EMSGSIZE) {
-printf("emsgsize\n");
SOCK_SENDBUF_LOCK(xprt->xp_socket);
sbwait(xprt->xp_socket, SO_SND);
SOCK_SENDBUF_UNLOCK(xprt->xp_socket);