From: Steve Dickson <SteveD@redhat.com>
To: Scott Mayhew <smayhew@redhat.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [nfs-utils PATCH] exportfs: Restore the EAI_NONAME check in host_pton()
Date: Wed, 4 Nov 2015 16:51:38 -0500 [thread overview]
Message-ID: <563A7DEA.8060706@RedHat.com> (raw)
In-Reply-To: <1446052796-10287-1-git-send-email-smayhew@redhat.com>
On 10/28/2015 01:19 PM, Scott Mayhew wrote:
> Commit d89e3fc7 removed the EAI_NONAME check altogether instead of just
> moving the NULL check. This causes exportfs -u to incorrectly exit
> with 1 whenever there's more than one MCL_FQDN export in the exportlist.
>
> Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Committed...
steved.
> ---
> support/export/hostname.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/support/export/hostname.c b/support/export/hostname.c
> index 169baa5..7a44d42 100644
> --- a/support/export/hostname.c
> +++ b/support/export/hostname.c
> @@ -134,6 +134,8 @@ host_pton(const char *paddr)
> break;
> }
> return ai;
> + case EAI_NONAME:
> + break;
> case EAI_SYSTEM:
> xlog(D_GENERAL, "%s: failed to convert %s: (%d) %m",
> __func__, paddr, errno);
>
prev parent reply other threads:[~2015-11-04 21:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 17:19 [nfs-utils PATCH] exportfs: Restore the EAI_NONAME check in host_pton() Scott Mayhew
2015-11-04 21:51 ` Steve Dickson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=563A7DEA.8060706@RedHat.com \
--to=steved@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=smayhew@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.