Commit 9c3a88c7 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

mnt: Add simfs entry to a list of supported fs

simfs is used in OpenVZ containers, so lets understand it
and don't fail on its meeting.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 396a08eb
......@@ -349,6 +349,7 @@ static struct fstype fstypes[] = {
[FSTYPE__BINFMT_MISC] = { "binfmt_misc", binfmt_misc_dump },
[FSTYPE__TMPFS] = { "tmpfs", tmpfs_dump, tmpfs_restore },
[FSTYPE__DEVPTS] = { "devpts" },
[FSTYPE__SIMFS] = { "simfs" },
};
struct fstype *find_fstype_by_name(char *fst)
......
......@@ -6,6 +6,7 @@ enum fstype {
BINFMT_MISC = 4;
TMPFS = 5;
DEVPTS = 6;
SIMFS = 7;
};
message mnt_entry {
......
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