diff options
author | 2014-06-22 16:31:56 -0600 | |
---|---|---|
committer | 2014-06-22 16:34:11 -0600 | |
commit | d5bf02914ea3ecf28db4f830f136dc04146b2317 (patch) | |
tree | bdb623c506ba24ca29a2fffc595ef912cf8f7b3d /block/blk-cgroup.c | |
parent | blkcg: fix use-after-free in __blkg_release_rcu() by making blkcg_gq refcnt a... (diff) | |
download | linux-d5bf02914ea3ecf28db4f830f136dc04146b2317.tar.gz linux-d5bf02914ea3ecf28db4f830f136dc04146b2317.tar.bz2 linux-d5bf02914ea3ecf28db4f830f136dc04146b2317.zip |
Revert "block: add __init to blkcg_policy_register"
This reverts commit a2d445d440003f2d70ee4cd4970ea82ace616fee.
The original commit is buggy, we do use the registration functions
at runtime for modular builds.
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r-- | block/blk-cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 1463ca6b7aae..b9f4cc494ece 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -1090,7 +1090,7 @@ EXPORT_SYMBOL_GPL(blkcg_deactivate_policy); * Register @pol with blkcg core. Might sleep and @pol may be modified on * successful registration. Returns 0 on success and -errno on failure. */ -int __init blkcg_policy_register(struct blkcg_policy *pol) +int blkcg_policy_register(struct blkcg_policy *pol) { int i, ret; |