[CRIU] Re: [PATCH 3/8] eventpoll, inotify: Don't fail on watchees absence

Cyrill Gorcunov gorcunov at openvz.org
Thu May 10 06:44:59 EDT 2012


On Thu, May 10, 2012 at 02:11:47PM +0400, Pavel Emelyanov wrote:
> On 05/05/2012 07:20 PM, Cyrill Gorcunov wrote:
> > 
> > In case if eventpoll or inotify just created but
> > not watchee added we should not fail.
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  eventpoll.c |    2 +-
> >  inotify.c   |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> > 
> 
> Until the kernel API done I postpone this patch. But, IMHO,
> no watches should result in empty tfd: string in proc, not
> absent.

Ie print tfd: -1 then?

	Cyrill


More information about the CRIU mailing list