[Devel] [patch rh7 2/2] ve: ioctls -- call put_ve in real_env_create
Cyrill Gorcunov
gorcunov at odin.com
Thu May 7 01:53:37 PDT 2015
On Thu, May 07, 2015 at 11:44:31AM +0300, Vladimir Davydov wrote:
> >
> > Index: linux-pcs7.git/kernel/ve/vecalls.c
> > ===================================================================
> > --- linux-pcs7.git.orig/kernel/ve/vecalls.c
> > +++ linux-pcs7.git/kernel/ve/vecalls.c
> > @@ -588,7 +588,6 @@ int real_env_create(envid_t veid, unsign
> >
> > if (flags & VE_CREATE) {
> > status = do_env_create(veid, flags, class_id, data, datalen);
> > - goto out;
>
> AFAICS if we got here, ve must be NULL, so this patch changes nothing.
Heh, yeah, @ve here is a local one, Kostya, drop it please.
More information about the Devel
mailing list