blkcg: fix blkcg->css ref leak in __blkg_lookup_create()
commit496fb7806d616185a46865a4f3a20ef19dc6c7e3
authorTejun Heo <tj@kernel.org>
Thu, 19 Apr 2012 23:29:23 +0000 (19 16:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Apr 2012 08:06:40 +0000 (20 10:06 +0200)
treea200e6825be55f6d0ed411ec32dc16244f488fd9
parentaaf7c680682f1999ef2e574f743c45d1674a8b8a
blkcg: fix blkcg->css ref leak in __blkg_lookup_create()

__blkg_lookup_create() leaked blkcg->css ref if blkg allocation
failed.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c