From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-yx0-f174.google.com ([209.85.213.174]:38468 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757002Ab2EHU0d (ORCPT ); Tue, 8 May 2012 16:26:33 -0400 Received: by yenm10 with SMTP id m10so5275431yen.19 for ; Tue, 08 May 2012 13:26:33 -0700 (PDT) From: Jeff Layton To: steved@redhat.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH] nfsdcld: demote pipe opening error to D_GENERAL Date: Tue, 8 May 2012 16:26:26 -0400 Message-Id: <1336508786-2531-1-git-send-email-jlayton@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 --- 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