Re: [Libguestfs] [PATCH nbdkit 1/3] server: Add GET_CONN macro, alias for threadlocal_get_conn ().

2020-02-11 Thread Richard W.M. Jones
On Tue, Feb 11, 2020 at 11:25:49AM -0600, Eric Blake wrote: > On 2/11/20 11:15 AM, Richard W.M. Jones wrote: > >Since we're going to be calling this function a lot, add a short alias > >for it. > >--- > > server/internal.h | 1 + > > server/public.c | 6 +++--- > > 2 files changed, 4 insertions(

Re: [Libguestfs] [PATCH nbdkit 1/3] server: Add GET_CONN macro, alias for threadlocal_get_conn ().

2020-02-11 Thread Eric Blake
On 2/11/20 11:15 AM, Richard W.M. Jones wrote: Since we're going to be calling this function a lot, add a short alias for it. --- server/internal.h | 1 + server/public.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/internal.h b/server/internal.h index a

[Libguestfs] [PATCH nbdkit 1/3] server: Add GET_CONN macro, alias for threadlocal_get_conn ().

2020-02-11 Thread Richard W.M. Jones
Since we're going to be calling this function a lot, add a short alias for it. --- server/internal.h | 1 + server/public.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/internal.h b/server/internal.h index a1fa7309..1e7b4cf0 100644 --- a/server/internal.h +++