mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
d28c2bc8d1
commit
ebe8b54134
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue