[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 5 May 2008 11:24:11 -0700
From: "Paul Menage" <menage@...gle.com>
To: "Adrian Bunk" <bunk@...nel.org>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] make cgroup_seqfile_release() static
On Mon, May 5, 2008 at 11:21 AM, Adrian Bunk <bunk@...nel.org> wrote:
> cgroup_seqfile_release() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@...nel.org>
Acked-by: Paul Menage <menage@...gle.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);
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists