Re: [PATCH] nfsdcld: demote pipe opening error to D_GENERAL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/08/2012 04:26 PM, Jeff Layton wrote:
> 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@xxxxxxxxxx>
Committed...

steved.
> ---
>  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;
>  	}
>  
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux