summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-09-06 19:31:08 (GMT)
committerTejun Heo <tj@kernel.org>2013-09-10 13:41:00 (GMT)
commit58b79a91f57efec9457de8ff93a4cc4fb8daf753 (patch)
treeeb7d3c84c5102506fe222d905761167c9c68373d /lib/locking-selftest-rlock.h
parent26b0332e30c7f93e780aaa054bd84e3437f84354 (diff)
downloadlinux-fsl-qoriq-58b79a91f57efec9457de8ff93a4cc4fb8daf753.tar.xz
cgroup: fix cgroup post-order descendant walk of empty subtree
bd8815a6d8 ("cgroup: make css_for_each_descendant() and friends include the origin css in the iteration") updated cgroup descendant iterators to include the origin css; unfortuantely, it forgot to drop special case handling in css_next_descendant_post() for empty subtree leading to failure to visit the origin css without any child. Fix it by dropping the special case handling and always returning the leftmost descendant on the first iteration. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions