summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_socket.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-04-24 18:15:05 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-04-24 18:15:05 +0000
commitc8ab692e1f05ae69277f1b30791af3da1eaef37f (patch)
tree999bb2627bb789dc8d3887ad851bd7f72b55b5a2 /sys/nfs/nfs_socket.c
parenta7f72ceed2d7830cc9e70d8d86f605c36e714b89 (diff)
Dont log() send failures in nfs_send(), they arent helpful since we retry
and recover for the client case (or terminate with EINTR if to many retries), and in the server case, if we cant send due to f.x network troubles its up to the client to retry not the server. (server not responding messages are logged in another place though). discussed with deraadt@
Diffstat (limited to 'sys/nfs/nfs_socket.c')
-rw-r--r--sys/nfs/nfs_socket.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c
index 1f3fbb67628..b16e9d183c3 100644
--- a/sys/nfs/nfs_socket.c
+++ b/sys/nfs/nfs_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_socket.c,v 1.46 2006/10/28 20:56:46 thib Exp $ */
+/* $OpenBSD: nfs_socket.c,v 1.47 2007/04/24 18:15:04 thib Exp $ */
/* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */
/*
@@ -401,8 +401,6 @@ nfs_send(so, nam, top, rep)
(struct mbuf *)0, flags);
if (error) {
if (rep) {
- log(LOG_INFO, "nfs send error %d for server %s\n",error,
- rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname);
/*
* Deal with errors for the client side.
*/
@@ -410,8 +408,7 @@ nfs_send(so, nam, top, rep)
error = EINTR;
else
rep->r_flags |= R_MUSTRESEND;
- } else
- log(LOG_INFO, "nfsd send error %d\n", error);
+ }
/*
* Handle any recoverable (soft) socket errors here. (???)