[Devel] Re: [cr][git]linux-cr branch, ckpt-v17-dev, updated. v2.6.27-rc5-46174-g44430da
Oren Laadan
orenl at librato.com
Tue Aug 4 11:00:28 PDT 2009
Dan Smith wrote:
> 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);
Doh ! thanks ... (actually, 'inode' would do it :)
Pushed to ckpt-v17-dev.
Oren.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list