]> git.baikalelectronics.ru Git - kernel.git/commit
blkcg: blkcg_activate_policy() should initialize ancestors first
authorTejun Heo <tj@kernel.org>
Thu, 13 Jun 2019 22:30:40 +0000 (15:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 15 Jun 2019 16:39:40 +0000 (10:39 -0600)
commitcdb68efe1ca69f0b339926123b0a72c5626634b5
treee2c3740fdd60c8fb9fb50b2256f608f486916eb8
parent1f20a50d0c7d4f1d763e822862fca6a8504b54b9
blkcg: blkcg_activate_policy() should initialize ancestors first

When blkcg_activate_policy() is creating blkg_policy_data for existing
blkgs, it did in the wrong order - descendants first.  Fix it.  None
of the existing controllers seem affected by this.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c