Re: [PATCH 1/3] blk-cgroup: factor policy pd teardown loop into helper

From: Zheng Qixing

Date: Sun Jan 11 2026 - 20:04:31 EST



在 2026/1/9 22:44, Michal Koutný 写道:
Hi Qixing.

On Thu, Jan 08, 2026 at 09:44:14AM +0800, Zheng Qixing <zhengqixing@xxxxxxxxxxxxxxx> wrote:
From: Zheng Qixing <zhengqixing@xxxxxxxxxx>

Move the teardown sequence which offlines and frees per-policy
blkg_policy_data (pd) into a helper for readability.

No functional change intended.
This rework isn't so big, so I'd leave it upon your discretion but
consider please moving this patch towards the end of the series.
(Generally, eases backports of such fixes.)

Good point. I will move this patch to the end of the series in v2.

Kind Regards,

Qixing