mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
proc-parse: Inotify files migh have no watchee assigned
Same as eventpoll -- we might have no watchee assigned but only inotify descriptor created. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
03d0758df3
commit
fe7339570b
1 changed files with 2 additions and 2 deletions
|
|
@ -935,10 +935,10 @@ int parse_fdinfo(int fd, int type,
|
|||
if (entry_met)
|
||||
return 0;
|
||||
/*
|
||||
* An eventpoll file may have no target fds set thus
|
||||
* An eventpoll/inotify file may have no target fds set thus
|
||||
* resulting in no tfd: lines in proc. This is normal.
|
||||
*/
|
||||
if (type == FD_TYPES__EVENTPOLL)
|
||||
if (type == FD_TYPES__EVENTPOLL || type == FD_TYPES__INOTIFY)
|
||||
return 0;
|
||||
|
||||
pr_err("No records of type %d found in fdinfo file\n", type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue