Files
linux/block
Tejun Heo 74f412afcf blkcg: fix gendisk reference leak in blkg_conf_prep()
commit 5f6c2d2b7d upstream.

When a blkcg configuration is targeted to a partition rather than a
whole device, blkg_conf_prep fails with -EINVAL; unfortunately, it
forgets to put the gendisk ref in that case.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-10 12:20:30 -07:00
..
2015-06-22 16:55:52 -07:00
2013-02-22 10:42:45 +01:00