nfsdcld: demote pipe opening error to D_GENERAL
Subsystems (2)
PATCH 1/1 nfsdcld: demote pipe opening error to D_GENERAL
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 <[email protected]>
--- utils/nfsdcld/nfsdcld.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
utils/nfsdcld/nfsdcld.c +1 -1
@@ -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; }
Signature · 1 line
1.7.7.6
Quoted 7 lines · Jeff Layton
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 <[email protected]>
Committed...
steved.
Quoted 17 lines
--- utils/nfsdcld/nfsdcld.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)utils/nfsdcld/nfsdcld.c +1
-1@@ -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; }