2010-02-09 11:29:30

by Nikanth Karthikesan

[permalink] [raw]
Subject: [PATCH] Remove references to CTL_UNNUMBERED which has been removed

Remove references to CTL_UNNUMBERED which has been removed.

Signed-off-by: Nikanth Karthikesan <[email protected]>

---

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


2010-02-11 05:28:38

by Fengguang Wu

[permalink] [raw]
Subject: Re: [PATCH] Remove references to CTL_UNNUMBERED which has been removed

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 <[email protected]>

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

Thanks,
Fengguang

> Signed-off-by: Nikanth Karthikesan <[email protected]>
>
> ---
>
> 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 [email protected]. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"[email protected]"> [email protected] </a>