From: Ian Campbell <Ian.Campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>, xen-devel@lists.xen.org
Subject: Re: [PATCH 2/2] libxl_internal: comment on domain userdata unlock function
Date: Thu, 8 Jan 2015 17:42:23 +0000 [thread overview]
Message-ID: <1420738943.19787.126.camel@citrix.com> (raw)
In-Reply-To: <20150107165728.GO28680@zion.uk.xensource.com>
On Wed, 2015-01-07 at 16:57 +0000, Wei Liu wrote:
> > > diff --git a/tools/libxl/libxl_internal.c b/tools/libxl/libxl_internal.c
> > > index 9d8025d..a70214b 100644
> > > --- a/tools/libxl/libxl_internal.c
> > > +++ b/tools/libxl/libxl_internal.c
> > > @@ -458,6 +458,20 @@ out:
> > >
> > > void libxl__unlock_domain_userdata(libxl__domain_userdata_lock *lock)
> > > {
> > > + /* It's important to unlink the file before closing fd to avoid
> > > + * such race (if close before unlink):
> > ^^^^
> >
> > "to avoid the following race". "Such" must refer to a thing which
> > precedes.
> >
>
> I suppose you (or Ian C) can fix this when committing? Do I need to
> resend?
I've applied both patches and fixed this up.
prev parent reply other threads:[~2015-01-08 17:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-07 15:22 [PATCH 0/2] Two libxl misc patches Wei Liu
2015-01-07 15:22 ` [PATCH 1/2] libxl_internal: lock_carefd -> carefd Wei Liu
2015-01-07 16:50 ` Ian Jackson
2015-01-07 15:23 ` [PATCH 2/2] libxl_internal: comment on domain userdata unlock function Wei Liu
2015-01-07 16:52 ` Ian Jackson
2015-01-07 16:57 ` Wei Liu
2015-01-08 17:42 ` Ian Campbell [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=1420738943.19787.126.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/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.