blk-throttle: Free up policy node associated with deleted rule
authorVivek Goyal <vgoyal@redhat.com>
Tue, 25 Oct 2011 13:48:12 +0000 (15:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Oct 2011 13:48:12 +0000 (15:48 +0200)
commite060f00beee23568fe2c4faf1e88ff22edefd7b2
treea953ca37996c2010c4e8dda7fbdd76b270a9b4df
parent5e08159197b5b98a6648a172008de23f420e6c11
blk-throttle: Free up policy node associated with deleted rule

If a rule is being deleted, free up associated policy node. Otherwise
that memory is leaked.

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