diff options
author | Tejun Heo <tj@kernel.org> | 2014-09-24 13:31:48 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-24 13:31:48 -0400 |
commit | a2237370194484ee6aeeff04b617e4b14d178966 (patch) | |
tree | 6870066f892b8ddacb6a899f52e832abd0a92d69 /include/linux/percpu-refcount.h | |
parent | 9eca80461a45177e456219a9cd944c27675d6512 (diff) |
percpu_ref: relocate percpu_ref_reinit()
percpu_ref is gonna go through restructuring. Move
percpu_ref_reinit() after percpu_ref_kill_and_confirm(). This will
make later changes easier to follow and result in cleaner
organization.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'include/linux/percpu-refcount.h')
-rw-r--r-- | include/linux/percpu-refcount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu-refcount.h b/include/linux/percpu-refcount.h index 5df6784bd9d2..f015f139d491 100644 --- a/include/linux/percpu-refcount.h +++ b/include/linux/percpu-refcount.h | |||
@@ -68,10 +68,10 @@ struct percpu_ref { | |||
68 | 68 | ||
69 | int __must_check percpu_ref_init(struct percpu_ref *ref, | 69 | int __must_check percpu_ref_init(struct percpu_ref *ref, |
70 | percpu_ref_func_t *release, gfp_t gfp); | 70 | percpu_ref_func_t *release, gfp_t gfp); |
71 | void percpu_ref_reinit(struct percpu_ref *ref); | ||
72 | void percpu_ref_exit(struct percpu_ref *ref); | 71 | void percpu_ref_exit(struct percpu_ref *ref); |
73 | void percpu_ref_kill_and_confirm(struct percpu_ref *ref, | 72 | void percpu_ref_kill_and_confirm(struct percpu_ref *ref, |
74 | percpu_ref_func_t *confirm_kill); | 73 | percpu_ref_func_t *confirm_kill); |
74 | void percpu_ref_reinit(struct percpu_ref *ref); | ||
75 | 75 | ||
76 | /** | 76 | /** |
77 | * percpu_ref_kill - drop the initial ref | 77 | * percpu_ref_kill - drop the initial ref |