cgroup.h: remove some functions that are now gone
PATCH 1/1 cgroup.h: remove some functions that are now gone
From: Greg KH <[email protected]>
cgroup_lock() and cgroup_unlock() are now no longer exported, so fix cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
include/linux/cgroup.h +0 -2
@@ -837,8 +837,6 @@ static inline void cgroup_fork(struct task_struct *p) {}static inline void cgroup_post_fork (struct task_struct *p) {}static inline void cgroup_exit (struct task_struct *p,int callbacks) {} -static inline void cgroup_lock (void ) {} -static inline void cgroup_unlock (void ) {}static inline int cgroupstats_build (struct cgroupstats *stats,struct dentry *dentry) {
Li Zefan
Acked-byQuoted 6 lines · Greg KH
From: Greg KH <[email protected]>
cgroup_lock()andcgroup_unlock()are now no longer exported, so fixcgroup.hto not declare them ifCONFIG_CGROUPSis not enabled.Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 15 lines
include/linux/cgroup.h +0
-2@@ -837,8 +837,6 @@ static inline void cgroup_fork(struct task_struct *p) {}static inline void cgroup_post_fork (struct task_struct *p) {}static inline void cgroup_exit (struct task_struct *p,int callbacks) {} -static inline void cgroup_lock (void ) {} -static inline void cgroup_unlock (void ) {}static inline int cgroupstats_build (struct cgroupstats *stats,struct dentry *dentry) {
Li Zefan
Acked-byQuoted 6 lines · Greg KH
From: Greg KH <[email protected]>
cgroup_lock()andcgroup_unlock()are now no longer exported, so fixcgroup.hto not declare them ifCONFIG_CGROUPSis not enabled.Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 15 lines
include/linux/cgroup.h +0
-2@@ -837,8 +837,6 @@ static inline void cgroup_fork(struct task_struct *p) {}static inline void cgroup_post_fork (struct task_struct *p) {}static inline void cgroup_exit (struct task_struct *p,int callbacks) {} -static inline void cgroup_lock (void ) {} -static inline void cgroup_unlock (void ) {}static inline int cgroupstats_build (struct cgroupstats *stats,struct dentry *dentry) {
Quoted 6 lines · Greg KH
From: Greg KH <[email protected]>
cgroup_lock()andcgroup_unlock()are now no longer exported, so fixcgroup.hto not declare them ifCONFIG_CGROUPSis not enabled.Signed-off-by Greg Kroah-Hartman <[email protected]>
Will apply to cgroup/for-3.11 once v3.10-rc1 drops. Thanks!
Signature · 1 line
tejun
Quoted 6 lines · Greg KH
From: Greg KH <[email protected]>
cgroup_lock()andcgroup_unlock()are now no longer exported, so fixcgroup.hto not declare them ifCONFIG_CGROUPSis not enabled.Signed-off-by Greg Kroah-Hartman <[email protected]>
Will apply to cgroup/for-3.11 once v3.10-rc1 drops. Thanks!
Signature · 1 line
tejun
Tejun Heo
AppliedQuoted 6 lines · Greg KH
From: Greg KH <[email protected]>
cgroup_lock()andcgroup_unlock()are now no longer exported, so fixcgroup.hto not declare them ifCONFIG_CGROUPSis not enabled.Signed-off-by Greg Kroah-Hartman <[email protected]>
Applied to cgroup/for-3.11.
Thanks.
Signature · 1 line
tejun
Tejun Heo
AppliedQuoted 6 lines · Greg KH
From: Greg KH <[email protected]>
cgroup_lock()andcgroup_unlock()are now no longer exported, so fixcgroup.hto not declare them ifCONFIG_CGROUPSis not enabled.Signed-off-by Greg Kroah-Hartman <[email protected]>
Applied to cgroup/for-3.11.
Thanks.
Signature · 1 line
tejun