public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: slyich@gmail.com
Cc: libc-alpha@sourceware.org, carlos@redhat.com, slyfox@gentoo.org
Subject: Re: [PATCH] nsswitch: actually return the result when nss database is being locked
Date: Fri, 05 Feb 2021 13:45:54 -0500	[thread overview]
Message-ID: <xn35yacpzx.fsf@greed.delorie.com> (raw)
In-Reply-To: <20210205073218.1687522-1-slyich@gmail.com>


slyich@gmail.com writes:
> -      /* Change detected; disable reloading.  */
> +      /* Change detected; disable reloading and return current state.  */
>        atomic_store_release (&local->data.reload_disabled, 1);
> +      *result = local->data.services[database_index];

LGTM although I tweaked the patch subject for length.  Committed.
Thanks!

Reviewed-by: DJ Delorie <dj@redhat.com>


      reply	other threads:[~2021-02-05 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-05  7:32 slyich
2021-02-05 18:45 ` DJ Delorie [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=xn35yacpzx.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=carlos@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=slyfox@gentoo.org \
    --cc=slyich@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).