+5
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>