diff options
author | 2015-08-18 14:55:15 -0700 | |
---|---|---|
committer | 2015-08-18 15:49:17 -0700 | |
commit | 814376483e7d85b69a70634633f1f9d01c6ee0cf (patch) | |
tree | 04d6f2749e947f348a184e75e7bf1bea9ff7d163 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | blkcg: make blkcg_policy methods take a pointer to blkcg_policy_data (diff) | |
download | wireguard-linux-814376483e7d85b69a70634633f1f9d01c6ee0cf.tar.xz wireguard-linux-814376483e7d85b69a70634633f1f9d01c6ee0cf.zip |
blkcg: minor updates around blkcg_policy_data
* Rename blkcg->pd[] to blkcg->cpd[] so that cpd is consistently used
for blkcg_policy_data.
* Make blkcg_policy->cpd_init_fn() take blkcg_policy_data instead of
blkcg. This makes it consistent with blkg_policy_data methods and
to-be-added cpd alloc/free methods.
* blkcg_policy_data->blkcg and cpd_to_blkcg() added so that
cpd_init_fn() can determine the associated blkcg from
blkcg_policy_data.
v2: blkcg_policy_data->blkcg initializations were missing. Added.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions