浏览代码

[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>
Domen Puncer 20 年之前
父节点
当前提交
ebe8b54134
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/sys.c

+ 1 - 1
kernel/sys.c

@@ -1195,7 +1195,7 @@ static int groups_from_user(struct group_info *group_info,
 	return 0;
 	return 0;
 }
 }
 
 
-/* a simple shell-metzner sort */
+/* a simple Shell sort */
 static void groups_sort(struct group_info *group_info)
 static void groups_sort(struct group_info *group_info)
 {
 {
 	int base, max, stride;
 	int base, max, stride;