[Devel] Re: [cr][git]linux-cr branch, ckpt-v17-dev, updated. v2.6.27-rc5-46174-g44430da

Dan Smith danms at us.ibm.com
Tue Aug 4 09:05:04 PDT 2009


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: danms at us.ibm.com
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list