[CRIU] [PATCH 08/18] fsnotify: Add try_open_handle helper

Cyrill Gorcunov gorcunov at openvz.org
Fri Jan 11 11:58:09 EST 2013


The helper chooses which path to get, if remapped name present
(a 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 | 65 +++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 41 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: 2543 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130111/5c4dc3b5/attachment-0001.bin>


More information about the CRIU mailing list