login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [2.6 patch] kernel/cgroup.c: make 2 functions static
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Paul Menage <menage@...>
To: Adrian Bunk <bunk@...>
Cc: Paul Jackson <pj@...>, <linux-kernel@...>
Subject:
Re: [2.6 patch] kernel/cgroup.c: make 2 functions static
Date: Wednesday, October 24, 2007 - 12:46 pm
On 10/24/07, Adrian Bunk <bunk@kernel.org> wrote:
quoted text
> cgroup_is_releasable() and notify_on_release() should be static, > not global inline. > > Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Paul Menage <menage@google.com>
quoted text
> > --- > > kernel/cgroup.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > 626d10ec224de07fc7906b0aa82e035e153709ce > diff --git a/kernel/cgroup.c b/kernel/cgroup.c > index 5987dcc..fec1726 100644 > --- a/kernel/cgroup.c > +++ b/kernel/cgroup.c > @@ -143,7 +143,7 @@ enum { > ROOT_NOPREFIX, /* mounted subsystems have no named prefix */ > }; > > -inline int cgroup_is_releasable(const struct cgroup *cgrp) > +static int cgroup_is_releasable(const struct cgroup *cgrp) > { > const int bits = > (1 << CGRP_RELEASABLE) | > @@ -151,7 +151,7 @@ inline int cgroup_is_releasable(const struct cgroup *cgrp) > return (cgrp->flags & bits) == bits; > } > > -inline int notify_on_release(const struct cgroup *cgrp) > +static int notify_on_release(const struct cgroup *cgrp) > { > return test_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags); > } > >
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[2.6 patch] kernel/cgroup.c: make 2 functions static
, Adrian Bunk
, (Wed Oct 24, 12:23 pm)
Re: [2.6 patch] kernel/cgroup.c: make 2 functions static
, Paul Menage
, (Wed Oct 24, 12:46 pm)
Re: [2.6 patch] kernel/cgroup.c: make 2 functions static
, Paul Menage
, (Wed Oct 24, 12:32 pm)
Re: [2.6 patch] kernel/cgroup.c: make 2 functions static
, Adrian Bunk
, (Wed Oct 24, 12:41 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
openbsd-misc
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Arjan van de Ven
Re: [GIT]: Networking
Auke Kok
[PATCH] e1000e: test MSI interrupts
git
:
Colocation donated by:
Who's online
There are currently
2 users
and
959 guests
online.
Online users
zeekec
cabledeals00
Syndicate