[CRIU] [PATCH] mount: Allow to c/r empty mqueues
Cyrill Gorcunov
gorcunov at openvz.org
Thu Oct 16 05:58:52 PDT 2014
We don't support posix mqueues at the moment
but in case if this fs is simply mounted and
not used lets proceed without errors.
In case if someone is using it we detect it
because fs won't be empty and refuse to dump.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
mount.c | 4 ++++
protobuf/mnt.proto | 1 +
2 files changed, 5 insertions(+)
diff --git a/mount.c b/mount.c
index 04e6e4638102..a60c86e0f97b 100644
--- a/mount.c
+++ b/mount.c
@@ -855,6 +855,10 @@ static struct fstype fstypes[] = {
.dump = dump_empty_fs,
.code = FSTYPE__PSTORE,
}, {
+ .name = "mqueue",
+ .dump = dump_empty_fs,
+ .code = FSTYPE__MQUEUE,
+ }, {
.name = "securityfs",
.code = FSTYPE__SECURITYFS,
}, {
diff --git a/protobuf/mnt.proto b/protobuf/mnt.proto
index 2e399762fac0..99aa5350778f 100644
--- a/protobuf/mnt.proto
+++ b/protobuf/mnt.proto
@@ -13,6 +13,7 @@ enum fstype {
DEBUGFS = 11;
CGROUP = 12;
AUFS = 13;
+ MQUEUE = 14;
};
message mnt_entry {
--
1.9.3
More information about the CRIU
mailing list