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

Pavel Emelyanov xemul at parallels.com
Thu May 10 07:07:28 EDT 2012


On 05/10/2012 02:44 PM, Cyrill Gorcunov wrote:
> 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?

Ah, I see. Sorry, there's one entry per tfd in this file, not just one for
everyone. I'll take it.

> 	Cyrill
> 



More information about the CRIU mailing list