[CRIU] [PATCH 2/2] fsnotify: Warn a user if queued data present

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 26 04:25:45 PST 2014


On Wed, Feb 26, 2014 at 04:18:35PM +0400, Andrew Vagin wrote:
> >  static int open_handle(unsigned int s_dev, unsigned long i_ino,
> >  		FhEntry *f_handle)
> >  {
> > @@ -204,6 +218,10 @@ static int dump_one_inotify(int lfd, u32 id, const struct fd_parms *p)
> >  	ie.fown = (FownEntry *)&p->fown;
> >  
> >  	pr_info("id 0x%08x flags 0x%08x\n", ie.id, ie.flags);
> > +
> > +	if (has_queued_events(lfd) < 0)
> 
> has_queued_events returns true or false

Grr. Forgot to merge update :( Sorry, and thanks for the sharp eye!


More information about the CRIU mailing list