diff options
author | 2019-08-28 15:05:53 -0700 | |
---|---|---|
committer | 2019-08-28 21:17:04 -0600 | |
commit | 015d254cb02b6d8eec4b3366274bf4672f9e0b64 (patch) | |
tree | a0157e4d1ded778a3aefe989666bf7151aeb0a1b /include/linux/blk-cgroup.h | |
parent | blkcg: make ->cpd_init_fn() optional (diff) | |
download | linux-015d254cb02b6d8eec4b3366274bf4672f9e0b64.tar.gz linux-015d254cb02b6d8eec4b3366274bf4672f9e0b64.tar.bz2 linux-015d254cb02b6d8eec4b3366274bf4672f9e0b64.zip |
blkcg: separate blkcg_conf_get_disk() out of blkg_conf_prep()
Separate out blkcg_conf_get_disk() so that it can be used by blkcg
policy interface file input parsers before the policy is actually
enabled. This doesn't introduce any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-cgroup.h')
-rw-r--r-- | include/linux/blk-cgroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h index 261248e88eb1..bed9e43f9426 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -234,6 +234,7 @@ struct blkg_conf_ctx { char *body; }; +struct gendisk *blkcg_conf_get_disk(char **inputp); int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol, char *input, struct blkg_conf_ctx *ctx); void blkg_conf_finish(struct blkg_conf_ctx *ctx); |