Tejun Heo 5f6c2d2b7d blkcg: fix gendisk reference leak in blkg_conf_prep()
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>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-07-22 16:06:53 -06:00
..
2015-06-02 08:33:34 -06:00
2015-02-05 10:14:54 -07:00
2015-06-01 14:35:56 -06:00
2015-06-01 14:35:56 -06:00
2015-02-04 09:57:52 -07:00