Commit 72203f0e authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[PATCH] lib/sort: Replace qsort in XFS

Point XFS qsort at lib/sort in a way that makes it happy.
Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f683a166
......@@ -88,6 +88,7 @@
#include <linux/list.h>
#include <linux/proc_fs.h>
#include <linux/version.h>
#include <linux/sort.h>
#include <asm/page.h>
#include <asm/div64.h>
......@@ -368,4 +369,6 @@ static inline __uint64_t roundup_64(__uint64_t x, __uint32_t y)
return(x * y);
}
#define qsort(a, n, s, cmp) sort(a, n, s, cmp, NULL)
#endif /* __XFS_LINUX__ */
Markdown is supported
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