mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
blkcg: mark existing cftypes as legacy
blkcg is about to grow interface for the unified hierarchy. Add legacy to existing cftypes. * blkcg_policy->cftypes -> blkcg_policy->legacy_cftypes * blk-cgroup.c:blkcg_files -> blkcg_legacy_files * cfq-iosched.c:cfq_blkcg_files -> cfq_blkcg_legacy_files * blk-throttle.c:throtl_files -> throtl_legacy_files Pure renames. No functional change. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
c165b3e3c7
commit
880f50e228
4 changed files with 11 additions and 11 deletions
|
|
@ -1217,7 +1217,7 @@ static ssize_t tg_set_conf_uint(struct kernfs_open_file *of,
|
|||
return tg_set_conf(of, buf, nbytes, off, false);
|
||||
}
|
||||
|
||||
static struct cftype throtl_files[] = {
|
||||
static struct cftype throtl_legacy_files[] = {
|
||||
{
|
||||
.name = "throttle.read_bps_device",
|
||||
.private = offsetof(struct throtl_grp, bps[READ]),
|
||||
|
|
@ -1263,7 +1263,7 @@ static void throtl_shutdown_wq(struct request_queue *q)
|
|||
}
|
||||
|
||||
static struct blkcg_policy blkcg_policy_throtl = {
|
||||
.cftypes = throtl_files,
|
||||
.legacy_cftypes = throtl_legacy_files,
|
||||
|
||||
.pd_alloc_fn = throtl_pd_alloc,
|
||||
.pd_init_fn = throtl_pd_init,
|
||||
|
|
|
|||
Loading…
Reference in a new issue