From: "Paul Menage" <menage@google.com>
To: "Adrian Bunk" <bunk@kernel.org>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] make cgroup_seqfile_release() static
Date: Mon, 5 May 2008 11:24:11 -0700 [thread overview]
Message-ID: <6599ad830805051124t6f0fce0bu510adb7718c42a20@mail.gmail.com> (raw)
In-Reply-To: <20080505182154.GF17139@cs181133002.pp.htv.fi>
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);
>
>
prev parent reply other threads:[~2008-05-05 18:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-05 18:21 Adrian Bunk
2008-05-05 18:24 ` Paul Menage [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6599ad830805051124t6f0fce0bu510adb7718c42a20@mail.gmail.com \
--to=menage@google.com \
--cc=akpm@linux-foundation.org \
--cc=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®