From: Randy Dunlap <randy.dunlap@oracle.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@linux-foundation.org>,
torvalds <torvalds@linux-foundation.org>
Subject: Re: sysctl.c: add text telling people to use CTL_UNNUMBERED
Date: Mon, 16 Jul 2007 11:23:05 -0700 [thread overview]
Message-ID: <20070716112305.6308686f.randy.dunlap@oracle.com> (raw)
In-Reply-To: <200707161802.l6GI2h6J006803@hera.kernel.org>
On Mon, 16 Jul 2007 18:02:43 GMT Linux Kernel Mailing List wrote:
> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979
> Commit: 2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979
> Parent: 97d8f83cb734525f96992fd61e4f7323ab3d549c
> Author: Andrew Morton <akpm@linux-foundation.org>
> AuthorDate: Sun Jul 15 23:41:21 2007 -0700
> Committer: Linus Torvalds <torvalds@woody.linux-foundation.org>
> CommitDate: Mon Jul 16 09:05:49 2007 -0700
>
> sysctl.c: add text telling people to use CTL_UNNUMBERED
>
> Hopefully this will help people to understand the new regime.
>
> Cc: "Eric W. Biederman" <ebiederm@xmission.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> ---
> kernel/sysctl.c | 21 ++++++++++++++++++++-
> 1 files changed, 20 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 2cce228..7dca326 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -203,7 +203,10 @@ static ctl_table root_table[] = {
> .mode = 0555,
> .child = dev_table,
> },
> -
> +/*
> + * NOTE: do not add new entries to this table unless you have read
> + * Documentation/sysctl/ctl_unnumbered.txt
> + */
> { .ctl_name = 0 }
> };
>
> @@ -992,6 +995,14 @@ static ctl_table vm_table[] = {
> .extra1 = &zero,
> },
> #endif
> +/*
> + * NOTE: do not add new entries to this table unless you have read
> + * Documentation/sysctl/ctl_unnumbered.txt
> + */
> +/*
> + * NOTE: do not add new entries to this table unless you have read
> + * Documentation/sysctl/ctl_unnumbered.txt
> + */
> { .ctl_name = 0 }
> };
Are these comments above & below doubled up for Emphasis??
> @@ -1132,6 +1143,14 @@ static ctl_table fs_table[] = {
> .child = binfmt_misc_table,
> },
> #endif
> +/*
> + * NOTE: do not add new entries to this table unless you have read
> + * Documentation/sysctl/ctl_unnumbered.txt
> + */
> +/*
> + * NOTE: do not add new entries to this table unless you have read
> + * Documentation/sysctl/ctl_unnumbered.txt
> + */
> { .ctl_name = 0 }
> };
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next parent reply other threads:[~2007-07-16 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200707161802.l6GI2h6J006803@hera.kernel.org>
2007-07-16 18:23 ` Randy Dunlap [this message]
2007-07-16 18:35 ` Andrew Morton
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=20070716112305.6308686f.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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
Powered by JetHome