Skip to content
Commit 2c761270 authored by Dave Chinner's avatar Dave Chinner Committed by Linus Torvalds
Browse files

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: default avatarDave Chinner <david@fromorbit.com>
Acked-by: default avatarDave Airlie <airlied@redhat.com>
Acked-by: default avatarArtem Bityutskiy <dedekind@infradead.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent dbf004d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment