From 8982a89b24be0a0b43c85ec64d89b70c941a050c Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 3 Feb 2005 01:19:03 +0000 Subject: [PATCH] In hlink_compare(), call f_name_cmp() directly instead of using file_compare(). --- hlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlink.c b/hlink.c index 1a489c27..1918319b 100644 --- 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; -- 2.34.1