Re: [PATCH] Remove references to CTL_UNNUMBERED which has beenremoved

From: Wu Fengguang
Date: Thu Feb 11 2010 - 00:28:41 EST


On Tue, Feb 09, 2010 at 04:59:24PM +0530, Nikanth Karthikesan wrote:
> Remove references to CTL_UNNUMBERED which has been removed.
>

Acked-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>

CTL_UNNUMBERED is removed in 86926d00 by Eric W. Biederman.

Thanks,
Fengguang

> Signed-off-by: Nikanth Karthikesan <knikanth@xxxxxxx>
>
> ---
>
> Index: linux-2.6/kernel/sysctl.c
> ===================================================================
> --- linux-2.6.orig/kernel/sysctl.c
> +++ linux-2.6/kernel/sysctl.c
> @@ -232,10 +232,6 @@ static struct 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
> - */
> { }
> };
>
> @@ -936,10 +932,6 @@ static struct ctl_table kern_table[] = {
> .proc_handler = proc_dointvec,
> },
> #endif
> -/*
> - * NOTE: do not add new entries to this table unless you have read
> - * Documentation/sysctl/ctl_unnumbered.txt
> - */
> { }
> };
>
> @@ -1282,10 +1274,6 @@ static struct ctl_table vm_table[] = {
> },
> #endif
>
> -/*
> - * NOTE: do not add new entries to this table unless you have read
> - * Documentation/sysctl/ctl_unnumbered.txt
> - */
> { }
> };
>
> @@ -1433,10 +1421,6 @@ static struct 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
> - */
> { }
> };
>
> Index: linux-2.6/Documentation/sysctl/00-INDEX
> ===================================================================
> --- linux-2.6.orig/Documentation/sysctl/00-INDEX
> +++ linux-2.6/Documentation/sysctl/00-INDEX
> @@ -4,8 +4,6 @@ README
> - general information about /proc/sys/ sysctl files.
> abi.txt
> - documentation for /proc/sys/abi/*.
> -ctl_unnumbered.txt
> - - explanation of why one should not add new binary sysctl numbers.
> fs.txt
> - documentation for /proc/sys/fs/*.
> kernel.txt
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>
--
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/