diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-07-15 23:41:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 09:05:49 -0700 |
commit | 2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979 (patch) | |
tree | 13c1fb37c6978f911014b32589ba0cb597b9a6fb /kernel/sysctl.c | |
parent | 97d8f83cb734525f96992fd61e4f7323ab3d549c (diff) | |
download | kernel_samsung_crespo-2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979.zip kernel_samsung_crespo-2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979.tar.gz kernel_samsung_crespo-2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979.tar.bz2 |
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>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | 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 } }; @@ -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 } }; |