]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cgroup: Add missing errno == ENOENT check in virCgroupRemoveRecursively
authorRyota Ozaki <ozaki.ryota@gmail.com>
Sat, 26 Jun 2010 17:21:28 +0000 (02:21 +0900)
committerEric Blake <eblake@redhat.com>
Tue, 29 Jun 2010 18:16:51 +0000 (12:16 -0600)
commitadc796c8eb6d573a6311e5f95e087f6c0758ad3f
treec7b63c288bc955faca9ee9ec0432968036c00941
parentec75b0cf59bc9eddce1187fd7e2a669e3ffd58ce
cgroup: Add missing errno == ENOENT check in virCgroupRemoveRecursively

ENOENT happens normally when a subsystem is enabled with any other
subsystems and the directory of the target group has already removed
in a prior loop. In that case, the function should just return without
leaving an error message.

NB this is the same behavior as before introducing virCgroupRemoveRecursively.
src/util/cgroup.c