Re: [2.6 patch] make cgroup_seqfile_release() static

From: Paul Menage
Date: Mon May 05 2008 - 14:25:58 EST


On Mon, May 5, 2008 at 11:21 AM, Adrian Bunk <bunk@xxxxxxxxxx> wrote:
> cgroup_seqfile_release() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

Acked-by: Paul Menage <menage@xxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/