All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfsdcld: demote pipe opening error to D_GENERAL
@ 2012-05-08 20:26 Jeff Layton
  2012-05-09 18:14 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2012-05-08 20:26 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

It's actually expected that this will fail initially when we start the
daemon. Until knfsd has been started, the pipe doesn't exist, and we
generally want to start nfsdcld before starting knfsd.

Avoid the scary error message by demoting this message to D_GENERAL.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
 utils/nfsdcld/nfsdcld.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c
index f4e9502..e7af4e3 100644
--- a/utils/nfsdcld/nfsdcld.c
+++ b/utils/nfsdcld/nfsdcld.c
@@ -138,7 +138,7 @@ cld_pipe_open(struct cld_client *clnt)
 	xlog(D_GENERAL, "%s: opening upcall pipe %s", __func__, pipepath);
 	fd = open(pipepath, O_RDWR, 0);
 	if (fd < 0) {
-		xlog(L_ERROR, "%s: open of %s failed: %m", __func__, pipepath);
+		xlog(D_GENERAL, "%s: open of %s failed: %m", __func__, pipepath);
 		return -errno;
 	}
 
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-09 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08 20:26 [PATCH] nfsdcld: demote pipe opening error to D_GENERAL Jeff Layton
2012-05-09 18:14 ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.