mnt: Read mount images early

Mappings from mount id to namespace will be required to
remove ghosts on restore failure.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2015-09-23 17:21:02 +03:00
parent b0e23c3d4f
commit a7c9f3011d
3 changed files with 7 additions and 4 deletions

View file

@ -118,6 +118,7 @@ extern int depopulate_roots_yard(void);
extern int rst_get_mnt_root(int mnt_id, char *path, int plen);
extern int ext_mount_add(char *key, char *val);
extern int mntns_maybe_create_roots(void);
extern int read_mnt_ns_img(void);
extern void cleanup_mnt_ns(void);
#endif /* __CR_MOUNT_H__ */