[CRIU] [PATCH 2/9] unix: image -- Shift mnt_id index

Cyrill Gorcunov gorcunov at gmail.com
Sat Jun 9 16:26:04 MSK 2018


The index 17 is used in vz7 images, so
while this member is not yet in stable
criu lets shift it.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 images/sk-unix.proto | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/images/sk-unix.proto b/images/sk-unix.proto
index c59644f6eadd..c2f716093a82 100644
--- a/images/sk-unix.proto
+++ b/images/sk-unix.proto
@@ -50,5 +50,8 @@ message unix_sk_entry {
 	optional bool			deleted		= 15;
 
 	optional uint32			ns_id		= 16;
-	optional sint32			mnt_id		= 17 [default = -1];
+	/*
+	 * field 17 is reserved for vz7 use
+	 */
+	optional sint32			mnt_id		= 18 [default = -1];
 }
-- 
2.14.4



More information about the CRIU mailing list