Skip to contentSkip to conversation

xfs-no-qsort

PATCH In review Andreas Gruenbacher 1 participant 1 message Apr 26, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/11 xfs-no-qsort

Remove qsot from xfs

XFS has a private copy of qsort. Use the in-kernel qsort instead; otherwise we get duplicate symbol errors.

Andreas Gruenbacher <[email protected]>, SUSE Labs

fs/Kconfig +1 -0
Index: linux-2.6.6-rc2/fs/Kconfig
===================================================================
@@ -293,6 +293,7 @@ config FS_POSIX_ACL
 
 config XFS_FS
 	tristate "XFS filesystem support"
+	select QSORT
 	help
 	  XFS is a high performance journaling filesystem which originated
 	  on the SGI IRIX platform.  It is completely multi-threaded, can
fs/xfs/Makefile +0 -1
Index: linux-2.6.6-rc2/fs/xfs/Makefile
===================================================================
@@ -142,7 +142,6 @@ xfs-y				+= $(addprefix linux/, \
 xfs-y				+= $(addprefix support/, \
 				   debug.o \
 				   move.o \
-				   qsort.o \
 				   uuid.o)
 
 xfs-$(CONFIG_XFS_TRACE)		+= support/ktrace.o
fs/xfs/linux/xfs_linux.h +0 -1
Index: linux-2.6.6-rc2/fs/xfs/linux/xfs_linux.h
===================================================================
@@ -64,7 +64,6 @@
 #include <sema.h>
 #include <time.h>
 
-#include <support/qsort.h>
 #include <support/ktrace.h>
 #include <support/debug.h>
 #include <support/move.h>
fs/xfs/support/qsort.c +0 -155

155 lines not on this page · raw message

fs/xfs/support/qsort.h +0 -41

41 lines not on this page · raw message