[CRIU] [PATCH 2/4] checkpoint: replace write_img_buf --> write_img ipc code

Kinsbursky Stanislav skinsbursky at openvz.org
Fri Feb 3 08:48:37 EST 2012


From: Stanislav Kinsbursky <skinsbursky at parallels.com>



Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>

---
 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