[lxc-devel] [lxc/lxc] 032e28: cgroup.c: clean up for handle_cgroup_settings

GitHub noreply at github.com
Thu Jan 23 03:25:44 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 032e28b7675fd03dc19c7af0182ddb93807c2f96
      https://github.com/lxc/lxc/commit/032e28b7675fd03dc19c7af0182ddb93807c2f96
  Author: Qiang Huang <h.huangqiang at huawei.com>
  Date:   2014-01-22 (Wed, 22 Jan 2014)

  Changed paths:
    M src/lxc/cgroup.c

  Log Message:
  -----------
  cgroup.c: clean up for handle_cgroup_settings

Clean up the nesting if, make the logic similar for memory
and cpuset, and the error message should sent from inside,
for better extendibility.

Signed-off-by: Qiang Huang <h.huangqiang at huawei.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list