summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-12-29 07:05:54 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-12-29 07:05:54 +0000
commita55e74b2c3aafca3ef99a0758e1f0deab7de3ad2 (patch)
tree56572b5ddee06663c09dc32eb15067785a0952af /configure.in
parente397822e299a297d22f49216f2bcbdf41db6781f (diff)
downloadlibcg-a55e74b2c3aafca3ef99a0758e1f0deab7de3ad2.tar.gz
libcg-a55e74b2c3aafca3ef99a0758e1f0deab7de3ad2.tar.xz
libcg-a55e74b2c3aafca3ef99a0758e1f0deab7de3ad2.zip
libcgroup: Don't fail cgroup_get_cgroup if fscanf fails
cgroup_get_cgroup was failing with the memory controller enabled. It was failing on memory.force_empty. The file has read permissions, but there is no read routine associated with it inside the kernel. fscanf failed and so cgroup_get_cgroup also failed. This was unexpected, cgroup_get_cgroup should have just skipped the file. In order to fix this, change cg_rd_ctrl_file to return more descriptive errors. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@293 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'configure.in')
0 files changed, 0 insertions, 0 deletions