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

Cyrill Gorcunov gorcunov at openvz.org
Mon Dec 3 10:27:01 EST 2012


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

The lookup_ghost_file_st is 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         | 27 +++++++++++++++++++++++++++
 include/files-reg.h |  3 +++
 2 files changed, 30 insertions(+)

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


More information about the CRIU mailing list