[PATCH openEuler-1.0-LTS 24/33] block, bfq: make reparent_leaf_entity actually work only on leaf entities