forked from Minki/linux
kernel/cgroup.c: make 2 functions static
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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8dc4f3e17d
commit
e9685a03c8
@ -141,7 +141,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) |
|
||||
@ -149,7 +149,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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user