mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 15:55:53 +00:00
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: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
396a08eb95
commit
9c3a88c7b1
1
mount.c
1
mount.c
@@ -349,6 +349,7 @@ static struct fstype fstypes[] = {
|
|||||||
[FSTYPE__BINFMT_MISC] = { "binfmt_misc", binfmt_misc_dump },
|
[FSTYPE__BINFMT_MISC] = { "binfmt_misc", binfmt_misc_dump },
|
||||||
[FSTYPE__TMPFS] = { "tmpfs", tmpfs_dump, tmpfs_restore },
|
[FSTYPE__TMPFS] = { "tmpfs", tmpfs_dump, tmpfs_restore },
|
||||||
[FSTYPE__DEVPTS] = { "devpts" },
|
[FSTYPE__DEVPTS] = { "devpts" },
|
||||||
|
[FSTYPE__SIMFS] = { "simfs" },
|
||||||
};
|
};
|
||||||
|
|
||||||
struct fstype *find_fstype_by_name(char *fst)
|
struct fstype *find_fstype_by_name(char *fst)
|
||||||
|
@@ -6,6 +6,7 @@ enum fstype {
|
|||||||
BINFMT_MISC = 4;
|
BINFMT_MISC = 4;
|
||||||
TMPFS = 5;
|
TMPFS = 5;
|
||||||
DEVPTS = 6;
|
DEVPTS = 6;
|
||||||
|
SIMFS = 7;
|
||||||
};
|
};
|
||||||
|
|
||||||
message mnt_entry {
|
message mnt_entry {
|
||||||
|
Reference in New Issue
Block a user