summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDomen Puncer <domen@coderock.org>2005-05-06 01:16:19 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 01:36:50 +0200
commitebe8b54134314cc31331f6e26f42276cd947d1df (patch)
tree93a34aa89778fdc1a79e5f399347b8bb01f1452c /kernel
parent[PATCH] fix lib/sort regression test (diff)
downloadlinux-ebe8b54134314cc31331f6e26f42276cd947d1df.tar.xz
linux-ebe8b54134314cc31331f6e26f42276cd947d1df.zip
[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>
Diffstat (limited to 'kernel')
-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,
return 0;
}
-/* a simple shell-metzner sort */
+/* a simple Shell sort */
static void groups_sort(struct group_info *group_info)
{
int base, max, stride;