* [PATCH] cgroup.h: remove some functions that are now gone
@ 2013-05-03 23:26 Greg KH
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2013-05-03 23:26 UTC (permalink / raw)
To: Tejun Heo, Li Zefan
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
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>
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 related [flat|nested] 4+ 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 19:08 ` Tejun Heo
2013-05-14 18:51 ` Tejun Heo
2 siblings, 0 replies; 4+ 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] 4+ 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 19:08 ` Tejun Heo
2013-05-14 18:51 ` Tejun Heo
2 siblings, 0 replies; 4+ 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] 4+ 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 19:08 ` Tejun Heo
@ 2013-05-14 18:51 ` Tejun Heo
2 siblings, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2013-05-14 18:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03 23:26 [PATCH] cgroup.h: remove some functions that are now gone Greg KH
[not found] ` <20130503232659.GA12008-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-05-06 0:50 ` Li Zefan
2013-05-06 19:08 ` Tejun Heo
2013-05-14 18:51 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).