* [2.6 patch] make cgroup_seqfile_release() static
@ 2008-05-05 18:21 Adrian Bunk
2008-05-05 18:24 ` Paul Menage
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-05-05 18:21 UTC (permalink / raw)
To: Paul Menage; +Cc: Andrew Morton, linux-kernel
cgroup_seqfile_release() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
f08ef145219300d3279c37d22f29a22fcbcdd138 diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index b9d467d..ea4b8f1 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1560,7 +1560,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg)
return cft->read_seq_string(state->cgroup, cft, m);
}
-int cgroup_seqfile_release(struct inode *inode, struct file *file)
+static int cgroup_seqfile_release(struct inode *inode, struct file *file)
{
struct seq_file *seq = file->private_data;
kfree(seq->private);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make cgroup_seqfile_release() static
2008-05-05 18:21 [2.6 patch] make cgroup_seqfile_release() static Adrian Bunk
@ 2008-05-05 18:24 ` Paul Menage
0 siblings, 0 replies; 2+ messages in thread
From: Paul Menage @ 2008-05-05 18:24 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel
On Mon, May 5, 2008 at 11:21 AM, Adrian Bunk <bunk@kernel.org> wrote:
> cgroup_seqfile_release() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Paul Menage <menage@google.com>
Thanks,
Paul
>
> ---
> f08ef145219300d3279c37d22f29a22fcbcdd138 diff --git a/kernel/cgroup.c b/kernel/cgroup.c
> index b9d467d..ea4b8f1 100644
> --- a/kernel/cgroup.c
> +++ b/kernel/cgroup.c
> @@ -1560,7 +1560,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg)
> return cft->read_seq_string(state->cgroup, cft, m);
> }
>
> -int cgroup_seqfile_release(struct inode *inode, struct file *file)
> +static int cgroup_seqfile_release(struct inode *inode, struct file *file)
> {
> struct seq_file *seq = file->private_data;
> kfree(seq->private);
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-05 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05 18:21 [2.6 patch] make cgroup_seqfile_release() static Adrian Bunk
2008-05-05 18:24 ` Paul Menage
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®