[cgmanager-devel] [cgmanager/cgmanager] 5eec4e: cgproxy: remove proxydir if it exists

GitHub noreply at github.com
Sat Feb 22 05:39:38 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/cgmanager/cgmanager
  Commit: 5eec4ec4c29ebe20370cb7ec3dc5c9540dd2627a
      https://github.com/cgmanager/cgmanager/commit/5eec4ec4c29ebe20370cb7ec3dc5c9540dd2627a
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M cgmanager-proxy.c

  Log Message:
  -----------
  cgproxy: remove proxydir if it exists

If /sys/fs/cgroup/cgmanager is not a mount that we can move, then
we need to rename it.  But if /sys/fs/cgroup/cgmanager.lower
already exists, then we have to remove that before we can
mv /sys/fs/cgroup/cgmanager to it.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the cgmanager-devel mailing list