> This code is strictly not needed, and was originally only added only
> because cgconfigparser can mkdir the mountpoint.
>
> Doing it however caused a few bugs and had the possibility of
> changing the system state. So, let's not do it.
>
> Should also fix up https://bugzilla.redhat.com/show_bug.cgi?id=652583
>
> Signed-off-by: Dhaval Giani<[email protected]>
Tested-by:  Ivana Hutarova Varekova <[email protected]>
> ---
>   src/config.c |    6 ------
>   1 file changed, 6 deletions(-)
>
> Index: libcg/src/config.c
> ===================================================================
> --- libcg.orig/src/config.c
> +++ libcg/src/config.c
> @@ -752,12 +752,6 @@ static int cgroup_config_unload_controll
>               goto out_error;
>       }
>
> -     error = rmdir(mount_info->path);
> -     if (error) {
> -             last_errno = errno;
> -             ret = ECGOTHER;
> -     }
> -
>   out_error:
>       if (cgroup)
>               cgroup_free(&cgroup);


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to