cgroup: list_del_init() on removed events
authorGreg Thelen <gthelen@google.com>
Wed, 28 Nov 2012 21:50:45 +0000 (13:50 -0800)
committerTejun Heo <tj@kernel.org>
Wed, 28 Nov 2012 21:52:14 +0000 (13:52 -0800)
commit9718ceb3431acdeee9bdec5c18e18266333970aa
tree5f8cf33738076409cf0c311100b2972c0571ec27
parent205a872bd6f9a9a09ef035ef1e90185a8245cc58
cgroup: list_del_init() on removed events

Use list_del_init() rather than list_del() to remove events from
cgrp->event_list.  No functional change.  This is just defensive
coding.

Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c