[CRIU] [PATCH 6/9] files-reg: Add a few helpers to access ghost files from inotify

Cyrill Gorcunov gorcunov at openvz.org
Fri Nov 30 10:42:39 EST 2012


The ghost_file_get and ghost_file_put will be needed to defer
unlinking of ghost files if they are referred from
inotify system.

The lookup_ghost_file_st and lookup_ghost_file_id are
needed to figure out if the watch target the inotify
has present in ghost files list.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files-reg.c         |   41 +++++++++++++++++++++++++++++++++++++++++
 include/files-reg.h |    5 +++++
 2 files changed, 46 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-files-reg-Add-a-few-helpers-to-access-ghost-files-fr.patch
Type: text/x-patch
Size: 1722 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121130/d25704da/attachment.bin>


More information about the CRIU mailing list