Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ae836810263509ff7a3c2c021754ce6f66b3fab6 Commit: ae836810263509ff7a3c2c021754ce6f66b3fab6 Parent: 6703ddfcce61ad66db606085a8d42dcab264f840 Author: Eric W. Biederman <[EMAIL PROTECTED]> AuthorDate: Wed Feb 14 00:34:08 2007 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Wed Feb 14 08:09:59 2007 -0800
[PATCH] sysctl: remove support for directory strategy routines parse_table has support for calling a strategy routine when descending into a directory. To date no one has used this functionality and the /proc/sys interface has no analog to it. So no one is using this functionality kill it and make the binary sysctl code easier to follow. Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- kernel/sysctl.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 48708a7..cb46d01 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1175,14 +1175,6 @@ repeat: if (table->child) { if (ctl_perm(table, 001)) return -EPERM; - if (table->strategy) { - error = table->strategy( - table, name, nlen, - oldval, oldlenp, - newval, newlen); - if (error) - return error; - } name++; nlen--; table = table->child; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html