[CRIU] [crtools-bot] checkpoint: replace write_img_buf --> write_img ipc code

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 3 12:26:59 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
--------------->
commit f054b3821d99330fe2f3236cd94a0c152681c8f1
Author: Stanislav Kinsbursky <skinsbursky at parallels.com>
Date:   Fri Feb 3 16:48:37 2012 +0300

    checkpoint: replace write_img_buf --> write_img ipc code
    
    Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 ipc_ns.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipc_ns.c b/ipc_ns.c
index ee471a1..0675586 100644
--- a/ipc_ns.c
+++ b/ipc_ns.c
@@ -131,7 +131,7 @@ static int dump_ipc_data(int fd, struct ipc_ns_data *ipc)
 {
 	int err;
 
-	err = write_img_buf(fd, &ipc->entry, sizeof(ipc->entry));
+	err = write_img(fd, &ipc->entry);
 	if (err < 0) {
 		pr_err("Failed to write IPC namespace entry\n");
 		return err;


More information about the CRIU mailing list