[cgmanager-devel] [cgmanager/cgmanager] 9c5544: Revert "add	CreateExclusive method"
    GitHub 
    noreply at github.com
       
    Tue Jan 14 18:09:26 UTC 2014
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/cgmanager/cgmanager
  Commit: 9c55440cf137ccc84e04637c4c83637ab9e17f62
      https://github.com/cgmanager/cgmanager/commit/9c55440cf137ccc84e04637c4c83637ab9e17f62
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)
  Changed paths:
    M cgmanager-proxy.c
    M cgmanager.c
    M org.linuxcontainers.cgmanager.xml
  Log Message:
  -----------
  Revert "add CreateExclusive method"
we'll go with an 'existed' flag
This reverts commit 5434089243de8002cc9cf0dcef7d4caa8b6cea53.
  Commit: a5dacbee8a0da3c06ed25b8aff37370728d28d0f
      https://github.com/cgmanager/cgmanager/commit/a5dacbee8a0da3c06ed25b8aff37370728d28d0f
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)
  Changed paths:
    M cgmanager-proxy.c
    M cgmanager.c
    M org.linuxcontainers.cgmanager.xml
  Log Message:
  -----------
  create: allow caller to determine if cgroup already existed
Create() now takes an output parameter so the caller can determine if
the group already existed. The scm variants now return '1' to denote
successful creation or '2' to denote that the group already existed.
create_main() will now not call chown if the group already existed.
[ Serge: modified to not be on top of Exclusive calls, and modified
to hopefully DTRT with paths longer than 1 directory ]
Signed-off-by: James Hunt <james.hunt at ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Compare: https://github.com/cgmanager/cgmanager/compare/5434089243de...a5dacbee8a0d
    
    
More information about the cgmanager-devel
mailing list