OL>  ipc/checkpoint_shm.c           |   23 +++++++-

This didn't compile for me until I made the following (untested)
change:

diff --git a/ipc/checkpoint_shm.c b/ipc/checkpoint_shm.c
index 48bf026..ac19ff0 100644
--- a/ipc/checkpoint_shm.c
+++ b/ipc/checkpoint_shm.c
@@ -112,7 +112,8 @@ int checkpoint_ipc_shm(int id, void *p, void *data)
        if (ret < 0)
                goto out;
 
-       ret = checkpoint_memory_contents(ctx, NULL, file->f_dentry->d_inode);
+       ret = checkpoint_memory_contents(ctx, NULL,
+                                        shp->shm_file->f_dentry->d_inode);
  out:
        ckpt_hdr_put(ctx, h);
        return ret;

-- 
Dan Smith
IBM Linux Technology Center
email: [email protected]
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to