Re: [PATCH 1/3] block: Remove redundant parent blkcg_gp check in check_scale_change

From: Josef Bacik
Date: Mon Oct 17 2022 - 14:23:35 EST


On Thu, Sep 29, 2022 at 03:40:53PM +0800, Kemeng Shi wrote:
> Function blkcg_iolatency_throttle will make sure blkg->parent is not
> NULL before calls check_scale_change. And function check_scale_change
> is only called in blkcg_iolatency_throttle.
>
> Signed-off-by: Kemeng Shi <shikemeng@xxxxxxxxxx>

Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Thanks,

Josef