summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_linux.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 11:43:18 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 11:43:18 +1100
commit380b5dc0e59340e7ed36dcc95dd1022aca75bbe2 (patch)
tree78e298c775b637e7dc0029bc5ecfc28db9256038 /fs/xfs/linux-2.6/xfs_linux.h
parent80cce77980c645b1c129d0e90159c1b1bb78f6a6 (diff)
downloadblackbird-op-linux-380b5dc0e59340e7ed36dcc95dd1022aca75bbe2.tar.gz
blackbird-op-linux-380b5dc0e59340e7ed36dcc95dd1022aca75bbe2.zip
[XFS] Fix up an internal sort function name collision issue.
SGI-PV: 942986 SGI-Modid: xfs-linux:xfs-kern:23859a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_linux.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h
index 68c5d885ed9c..960a626dd1e3 100644
--- a/fs/xfs/linux-2.6/xfs_linux.h
+++ b/fs/xfs/linux-2.6/xfs_linux.h
@@ -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)))
OpenPOWER on IntegriCloud