[CRIU] [PATCH 2/2] headers: Move vma_priv into vma.h

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 26 08:37:58 PST 2015


On Thu, Feb 26, 2015 at 07:30:35PM +0300, Pavel Emelyanov wrote:
> On 02/25/2015 06:42 PM, Cyrill Gorcunov wrote:
> > This allows us to reuse this helper on both
> > sides: dump and restore.
> 
> OK, I will delay this till 1.5 release. One comment inline :)
> 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  cr-dump.c          | 34 ++++------------------------------
> >  include/restorer.h |  4 ----
> >  include/vma.h      |  6 ++++++
> >  3 files changed, 10 insertions(+), 34 deletions(-)
> > 
> > diff --git a/cr-dump.c b/cr-dump.c
> > index cc524558989a..922dc602abe5 100644
> > --- a/cr-dump.c
> > +++ b/cr-dump.c
> > @@ -84,37 +84,11 @@ static char loc_buf[PAGE_SIZE];
> >  bool privately_dump_vma(struct vma_area *vma)
> 
> Can we have both calls be
> 
> a) either static inline or #define
> b) located in one header/c-file one after another

I'll unify, sure.


More information about the CRIU mailing list