Linux Container Development
 help / color / mirror / Atom feed
From: Dan Smith <danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org
Cc: Linux Containers
	<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: [cr][git]linux-cr branch, ckpt-v17-dev, updated. v2.6.27-rc5-46174-g44430da
Date: Tue, 04 Aug 2009 09:05:04 -0700	[thread overview]
Message-ID: <87skg7lg3z.fsf@caffeine.danplanet.com> (raw)
In-Reply-To: <200908040819.n748JdW9019915-EuEShxyuPQkq9VVQU6f9tyzKzqNAjFMVlXN7HHkbuXM@public.gmane.org> (orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org's message of "Tue\, 4 Aug 2009 04\:19\:39 -0400")

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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org

  parent reply	other threads:[~2009-08-04 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  8:19 [cr][git]linux-cr branch, ckpt-v17-dev, updated. v2.6.27-rc5-46174-g44430da orenl-eQaUEPhvms7ENvBUuze7eA
     [not found] ` <200908040819.n748JdW9019915-EuEShxyuPQkq9VVQU6f9tyzKzqNAjFMVlXN7HHkbuXM@public.gmane.org>
2009-08-04 16:05   ` Dan Smith [this message]
     [not found]     ` <87skg7lg3z.fsf-FLMGYpZoEPULwtHQx/6qkW3U47Q5hpJU@public.gmane.org>
2009-08-04 18:00       ` Oren Laadan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skg7lg3z.fsf@caffeine.danplanet.com \
    --to=danms-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox