Commit e9685a03 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

kernel/cgroup.c: make 2 functions static

cgroup_is_releasable() and notify_on_release() should be static,
not global inline.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarPaul Menage <menage@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8dc4f3e1
...@@ -141,7 +141,7 @@ enum { ...@@ -141,7 +141,7 @@ enum {
ROOT_NOPREFIX, /* mounted subsystems have no named prefix */ 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 = const int bits =
(1 << CGRP_RELEASABLE) | (1 << CGRP_RELEASABLE) |
...@@ -149,7 +149,7 @@ inline int cgroup_is_releasable(const struct cgroup *cgrp) ...@@ -149,7 +149,7 @@ inline int cgroup_is_releasable(const struct cgroup *cgrp)
return (cgrp->flags & bits) == bits; 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); return test_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment