-
- Downloads
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>
Showing
- drivers/gpu/drm/drm_modes.c 4 additions, 86 deletionsdrivers/gpu/drm/drm_modes.c
- fs/ubifs/gc.c 1 addition, 95 deletionsfs/ubifs/gc.c
- include/linux/list_sort.h 11 additions, 0 deletionsinclude/linux/list_sort.h
- lib/Makefile 1 addition, 1 deletionlib/Makefile
- lib/list_sort.c 102 additions, 0 deletionslib/list_sort.c
Loading
Please register or sign in to comment