aboutsummaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-05-14 13:52:36 -0700
committerMoyster <oysterized@gmail.com>2016-09-18 12:46:17 +0200
commitf784210ca69d3163620be8fd680b436d9a1d3b70 (patch)
tree9a10f12be3ee05feb5261e6478c237f7eb2d761c /include/linux/flex_array.h
parent6d9939107470da3d096d9af800c77f15db18ac38 (diff)
blk-throttle: add throtl_service_queue->parent_sq
To prepare for hierarchy support, this patch adds throtl_service_queue->service_sq which points to the arent service_queue. Currently, for all service_queues embedded in throtl_grps, it points to throtl_data->service_queue. As throtl_data->service_queue doesn't have a parent its parent_sq is set to NULL. There are a number of functions which take both throtl_grp *tg and throtl_service_queue *parent_sq. With this patch, the parent service_queue can be determined from @tg and the @parent_sq arguments are removed. This patch doesn't make any behavior differences. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions