Re: [PATCH block/for-linus] blkcg: fix gendisk reference leak in blkg_conf_prep()
On 07/22/2015 04:05 PM, Tejun Heo wrote: > 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.