]> err.no Git - linux-2.6/blobdiff - fs/xfs/linux-2.6/xfs_linux.h
[XFS] Fix up an internal sort function name collision issue.
[linux-2.6] / fs / xfs / linux-2.6 / xfs_linux.h
index 68c5d885ed9c214e737975a3d8a37379f8dbf834..960a626dd1e312826b189e5d7e0316c2984510d2 100644 (file)
@@ -254,11 +254,11 @@ static inline void set_buffer_unwritten_io(struct buffer_head *bh)
 #define MAX(a,b)       (max(a,b))
 #define howmany(x, y)  (((x)+((y)-1))/(y))
 #define roundup(x, y)  ((((x)+((y)-1))/(y))*(y))
-#define qsort(a,n,s,fn)        sort(a,n,s,fn,NULL)
 
 /*
  * Various platform dependent calls that don't fit anywhere else
  */
+#define xfs_sort(a,n,s,fn)     sort(a,n,s,fn,NULL)
 #define xfs_stack_trace()      dump_stack()
 #define xfs_itruncate_data(ip, off)    \
        (-vmtruncate(LINVFS_GET_IP(XFS_ITOV(ip)), (off)))