Commit 976265a0 authored by Pavel Emelyanov's avatar Pavel Emelyanov

mount: Add comments about mount list and tree

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0efaf212
......@@ -25,7 +25,16 @@
#include "protobuf.h"
#include "protobuf/mnt.pb-c.h"
/*
* Single linked list of mount points get from proc/images
*/
static struct mount_info *mntinfo;
/*
* Tree of mount points. When required is generated from
* the mntinfo list. Tree elements are sorted, so that it
* represents the real FS visibility and is thus suitable
* for umounting or path resolution.
*/
static struct mount_info *mntinfo_tree;
int mntns_root = -1;
......
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