Commit 4e6e60a8 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

irmap: mntns_collect_root in irmap_lookup

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3e50d70c
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "util.h" #include "util.h"
#include "image.h" #include "image.h"
#include "stats.h" #include "stats.h"
#include "pstree.h"
#include "protobuf.h" #include "protobuf.h"
#include "protobuf/fsnotify.pb-c.h" #include "protobuf/fsnotify.pb-c.h"
...@@ -226,6 +227,9 @@ char *irmap_lookup(unsigned int s_dev, unsigned long i_ino) ...@@ -226,6 +227,9 @@ char *irmap_lookup(unsigned int s_dev, unsigned long i_ino)
pr_debug("Resolving %x:%lx path\n", s_dev, i_ino); pr_debug("Resolving %x:%lx path\n", s_dev, i_ino);
if (mntns_collect_root(root_item->pid.real) < 0)
goto out;
timing_start(TIME_IRMAP_RESOLVE); timing_start(TIME_IRMAP_RESOLVE);
hv = irmap_hashfn(s_dev, i_ino); hv = irmap_hashfn(s_dev, i_ino);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment