[CRIU] [PATCH 08/17] fsnotify: Add try_open_handle helper
Pavel Emelyanov
xemul at parallels.com
Mon Dec 24 08:19:53 EST 2012
On 12/11/2012 01:34 AM, Cyrill Gorcunov wrote:
>
> 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(-)
>
This does more than just split one fn into two. Don't merge these
two changes in one patch.
More information about the CRIU
mailing list