* Re: [PATCH] cgroup.h: remove some functions that are now gone
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
@ 2013-05-06 0:50 ` Li Zefan
2013-05-06 0:50 ` Li Zefan
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Li Zefan @ 2013-05-06 0:50 UTC (permalink / raw)
To: Greg KH
Cc: Tejun Heo, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
cgroups-u79uwXL29TY76Z2rM5mHXA
On 2013/5/4 7:26, Greg KH wrote:
> From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
>
> cgroup_lock() and cgroup_unlock() are now no longer exported, so fix
> cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Acked-by: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
>
> diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
> index 3bff9ce..e2ab34d 100644
> --- a/include/linux/cgroup.h
> +++ b/include/linux/cgroup.h
> @@ -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)
> {
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] cgroup.h: remove some functions that are now gone
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-05-06 0:50 ` Li Zefan
@ 2013-05-06 0:50 ` Li Zefan
2013-05-06 19:08 ` Tejun Heo
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Li Zefan @ 2013-05-06 0:50 UTC (permalink / raw)
To: Greg KH
Cc: Tejun Heo, cgroups-u79uwXL29TY76Z2rM5mHXA,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
On 2013/5/4 7:26, Greg KH wrote:
> From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
>
> cgroup_lock() and cgroup_unlock() are now no longer exported, so fix
> cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Acked-by: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
>
> diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
> index 3bff9ce..e2ab34d 100644
> --- a/include/linux/cgroup.h
> +++ b/include/linux/cgroup.h
> @@ -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)
> {
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] cgroup.h: remove some functions that are now gone
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-05-06 0:50 ` Li Zefan
2013-05-06 0:50 ` Li Zefan
@ 2013-05-06 19:08 ` Tejun Heo
2013-05-06 19:08 ` Tejun Heo
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Tejun Heo @ 2013-05-06 19:08 UTC (permalink / raw)
To: Greg KH
Cc: Li Zefan, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
cgroups-u79uwXL29TY76Z2rM5mHXA
On Fri, May 03, 2013 at 04:26:59PM -0700, Greg KH wrote:
> From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
>
> cgroup_lock() and cgroup_unlock() are now no longer exported, so fix
> cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Will apply to cgroup/for-3.11 once v3.10-rc1 drops. Thanks!
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] cgroup.h: remove some functions that are now gone
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
` (2 preceding siblings ...)
2013-05-06 19:08 ` Tejun Heo
@ 2013-05-06 19:08 ` Tejun Heo
2013-05-14 18:51 ` Tejun Heo
2013-05-14 18:51 ` Tejun Heo
5 siblings, 0 replies; 7+ messages in thread
From: Tejun Heo @ 2013-05-06 19:08 UTC (permalink / raw)
To: Greg KH
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
On Fri, May 03, 2013 at 04:26:59PM -0700, Greg KH wrote:
> From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
>
> cgroup_lock() and cgroup_unlock() are now no longer exported, so fix
> cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Will apply to cgroup/for-3.11 once v3.10-rc1 drops. Thanks!
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] cgroup.h: remove some functions that are now gone
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
` (3 preceding siblings ...)
2013-05-06 19:08 ` Tejun Heo
@ 2013-05-14 18:51 ` Tejun Heo
2013-05-14 18:51 ` Tejun Heo
5 siblings, 0 replies; 7+ messages in thread
From: Tejun Heo @ 2013-05-14 18:51 UTC (permalink / raw)
To: Greg KH
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
On Fri, May 03, 2013 at 04:26:59PM -0700, Greg KH wrote:
> From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
>
> cgroup_lock() and cgroup_unlock() are now no longer exported, so fix
> cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Applied to cgroup/for-3.11.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] cgroup.h: remove some functions that are now gone
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
` (4 preceding siblings ...)
2013-05-14 18:51 ` Tejun Heo
@ 2013-05-14 18:51 ` Tejun Heo
5 siblings, 0 replies; 7+ messages in thread
From: Tejun Heo @ 2013-05-14 18:51 UTC (permalink / raw)
To: Greg KH
Cc: Li Zefan, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
cgroups-u79uwXL29TY76Z2rM5mHXA
On Fri, May 03, 2013 at 04:26:59PM -0700, Greg KH wrote:
> From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
>
> cgroup_lock() and cgroup_unlock() are now no longer exported, so fix
> cgroup.h to not declare them if CONFIG_CGROUPS is not enabled.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Applied to cgroup/for-3.11.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread