[CRIU] [crtools-bot for Kinsbursky Stanislav ] IPC: remove prohibition of mapped shared memory segments migration

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 15 04:30:34 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 90340f75cac7e721e8ad518fe3de019c0d5938da
Author: Kinsbursky Stanislav <skinsbursky at openvz.org>
Date:   Tue Feb 14 20:20:16 2012 +0300

    IPC: remove prohibition of mapped shared memory segments migration
    
    Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 ipc_ns.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/ipc_ns.c b/ipc_ns.c
index 42b833e..31c14ab 100644
--- a/ipc_ns.c
+++ b/ipc_ns.c
@@ -290,12 +290,6 @@ static int dump_ipc_shm(int fd)
 			break;
 		}
 
-		if (ds.shm_nattch != 0) {
-			pr_err("Migration of attached IPC shared memory "
-			       "segments is not supported yet\n");
-			return -EFAULT;
-		}
-
 		ret = dump_ipc_shm_seg(fd, id, &ds);
 		if (ret < 0)
 			return ret;


More information about the CRIU mailing list