diff options
author | 2014-09-08 08:15:20 +0900 | |
---|---|---|
committer | 2014-09-08 09:55:37 -0600 | |
commit | f4da80727cfbc3590d95ff17ef8db96e6f1483a4 (patch) | |
tree | cd073c26cb66e6d2f8640c3aabb412ff22946b63 /block/ioctl.c | |
parent | bsg: fix potential error pointer dereference (diff) | |
download | linux-f4da80727cfbc3590d95ff17ef8db96e6f1483a4.tar.gz linux-f4da80727cfbc3590d95ff17ef8db96e6f1483a4.tar.bz2 linux-f4da80727cfbc3590d95ff17ef8db96e6f1483a4.zip |
blkcg: remove blkcg->id
blkcg->id is a unique id given to each blkcg; however, the
cgroup_subsys_state which each blkcg embeds already has ->serial_nr
which can be used for the same purpose. Drop blkcg->id and replace
its uses with blkcg->css.serial_nr. Rename cfq_cgroup->blkcg_id to
->blkcg_serial_nr and @id in check_blkcg_changed() to @serial_nr for
consistency.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions