[CRIU] [PATCH 08/17] fsnotify: Add try_open_handle helper
Cyrill Gorcunov
gorcunov at openvz.org
Mon Dec 10 16:34:04 EST 2012
The helper chooses which path to get, if remapped
name present (ghost file) we use it, otherwise we
try to open file handle.
The reason for separate helper is that both inotify
and fanotify will use it, so we should try to eliminate
code duplication.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
fsnotify.c | 68 ++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 44 insertions(+), 24 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-fsnotify-Add-try_open_handle-helper.patch
Type: text/x-patch
Size: 2651 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121211/7e1dc97e/attachment.bin>
More information about the CRIU
mailing list