In hlink_compare(), call f_name_cmp() directly instead of using
authorWayne Davison <wayned@samba.org>
Thu, 3 Feb 2005 01:19:03 +0000 (01:19 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 3 Feb 2005 01:19:03 +0000 (01:19 +0000)
file_compare().

hlink.c

diff --git a/hlink.c b/hlink.c
index 1a489c2..1918319 100644 (file)
--- a/hlink.c
+++ b/hlink.c
@@ -36,7 +36,7 @@ static int hlink_compare(struct file_struct **file1, struct file_struct **file2)
        if (f1->F_INODE != f2->F_INODE)
                return (int) (f1->F_INODE > f2->F_INODE ? 1 : -1);
 
-       return file_compare(file1, file2);
+       return f_name_cmp(*file1, *file2);
 }
 
 static struct file_struct **hlink_list;