aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDomen Puncer <domen@coderock.org>2005-05-05 19:16:19 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-05 19:36:50 -0400
commitebe8b54134314cc31331f6e26f42276cd947d1df (patch)
tree93a34aa89778fdc1a79e5f399347b8bb01f1452c
parentd28c2bc8d192f606a4eb831978722107b20a9405 (diff)
[PATCH] correctly name the Shell sort
As per http://www.nist.gov/dads/HTML/shellsort.html, this should be referred to as a Shell sort. Shell-Metzner is a misnomer. Signed-off-by: Daniel Dickman <didickman@yahoo.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index f64e97cabe25..f006632c2ba7 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -1195,7 +1195,7 @@ static int groups_from_user(struct group_info *group_info,
1195 return 0; 1195 return 0;
1196} 1196}
1197 1197
1198/* a simple shell-metzner sort */ 1198/* a simple Shell sort */
1199static void groups_sort(struct group_info *group_info) 1199static void groups_sort(struct group_info *group_info)
1200{ 1200{
1201 int base, max, stride; 1201 int base, max, stride;