blkio: deletion of a cgroup was causes oops
authorVivek Goyal <vgoyal@redhat.com>
Fri, 1 Oct 2010 12:49:44 +0000 (14:49 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 1 Oct 2010 12:49:44 +0000 (14:49 +0200)
commit61014e96e6ed55b8db0af31574eec2a75d4e8755
tree69201251c3c5c51a0ed31dbe595743e60fbdaf52
parent13f98250f587b7defa39ed738dfa74b600e46e7b
blkio: deletion of a cgroup was causes oops

o Now a cgroup list of blkg elements can contain blkg from multiple policies.
  Before sending an unlink event, make sure blkg belongs to they policy. If
  policy does not own the blkg, do not send update for this blkg.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-cgroup.c