]> git.baikalelectronics.ru Git - kernel.git/commit
lib: Introduce generic list_sort function
authorDave Chinner <david@fromorbit.com>
Tue, 12 Jan 2010 06:39:16 +0000 (17:39 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Jan 2010 05:02:00 +0000 (21:02 -0800)
commit2d82764261323d664258d4785964a1fbfc885c34
treec23a51fdcc96641661b632d3b3c2c46ad7e53a91
parentf58e3afc5482719ad8d0a69a32401c9980b230be
lib: Introduce generic list_sort function

There are two copies of list_sort() in the tree already, one in the DRM
code, another in ubifs.  Now XFS needs this as well.  Create a generic
list_sort() function from the ubifs version and convert existing users
to it so we don't end up with yet another copy in the tree.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Acked-by: Artem Bityutskiy <dedekind@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/drm_modes.c
fs/ubifs/gc.c
include/linux/list_sort.h [new file with mode: 0644]
lib/Makefile
lib/list_sort.c [new file with mode: 0644]