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

Submitted by Cyrill Gorcunov on June 9, 2018, 1:26 p.m.

Details

Message ID 20180609132611.31726-3-gorcunov@gmail.com
State New
Series "unix: Add support for bindmounted dgram sockets"
Headers show

Commit Message

Cyrill Gorcunov June 9, 2018, 1:26 p.m.
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@gmail.com>
---
 images/sk-unix.proto | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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];
 }