]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_dir_leaf.c
[XFS] Fix up an internal sort function name collision issue.
[linux-2.6] / fs / xfs / xfs_dir_leaf.c
index c2ea6171fb0e3dff5e9afa32c0674a4782df0476..ca9bc2d9ba08a39f4f84ed0407d7ecce5831ee5e 100644 (file)
@@ -508,7 +508,7 @@ xfs_dir_shortform_getdents(xfs_inode_t *dp, uio_t *uio, int *eofp,
        /*
         * Sort the entries on hash then entno.
         */
-       qsort(sbuf, nsbuf, sizeof(*sbuf), xfs_dir_shortform_compare);
+       xfs_sort(sbuf, nsbuf, sizeof(*sbuf), xfs_dir_shortform_compare);
        /*
         * Stuff in last entry.
         */