diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-18 14:55:15 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-18 15:49:17 -0700 |
commit | 814376483e7d85b69a70634633f1f9d01c6ee0cf (patch) | |
tree | 04d6f2749e947f348a184e75e7bf1bea9ff7d163 /lib/rhashtable.c | |
parent | a9520cd6f2ac1fbbf206b915946534c6dddbaae2 (diff) | |
download | linux-814376483e7d85b69a70634633f1f9d01c6ee0cf.tar.bz2 |
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 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions