Commit f054b382 authored by Stanislav Kinsbursky's avatar Stanislav Kinsbursky Committed by Cyrill Gorcunov

checkpoint: replace write_img_buf --> write_img ipc code

Signed-off-by: 's avatarStanislav Kinsbursky <skinsbursky@parallels.com>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 8971be17
...@@ -131,7 +131,7 @@ static int dump_ipc_data(int fd, struct ipc_ns_data *ipc) ...@@ -131,7 +131,7 @@ static int dump_ipc_data(int fd, struct ipc_ns_data *ipc)
{ {
int err; int err;
err = write_img_buf(fd, &ipc->entry, sizeof(ipc->entry)); err = write_img(fd, &ipc->entry);
if (err < 0) { if (err < 0) {
pr_err("Failed to write IPC namespace entry\n"); pr_err("Failed to write IPC namespace entry\n");
return err; return err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment