[Lxc-users] total RAM limit

Serge Hallyn serge.hallyn at ubuntu.com
Wed Apr 24 15:37:43 UTC 2013


Quoting Frederic Crozat (fcrozat at suse.com):
> Le mercredi 24 avril 2013 à 08:55 -0500, Serge Hallyn a écrit :
> > Quoting Frederic Crozat (fcrozat at suse.com):
> > > Le mardi 23 avril 2013 à 10:09 -0500, Serge Hallyn a écrit :
> > > > Quoting Frederic Crozat (fcrozat at suse.com):
> > > 
> > > > Thanks - clearly my patch needed some love :)  Just a few comments below.
> > > 
> > > hehe :)
> > > > 
> > > > > +
> > > > > +	/* check if directory exists, and create it otherwise */
> > > > > +	if (access(path, F_OK)) {
> > > > > +		ret = mkdir(path, 0755);
> > > > > +		if (ret == -1 && errno == EEXIST) {
> > > > 
> > > > Did you mean errno != EEXIST?
> > > 
> > > I blindly copied code from lxc_one_cgroup_create (now
> > > create_lxcgroups :)
> > 
> > That has:
> > 
> >                         if (ret == -1 && errno != EEXIST) {
> 
> My copy didn't, because I didn't had
> d7436fc1dfe0323fb5e6905457f342da5ed8ca97 backported..
> 
> I'll fix that..

Thanks, ack with that fixed.




More information about the lxc-users mailing list