fix link hash lookup code, so that hard links are restored correctly.

from Steve Peurifoy <sp128@ibm.net> in [bin/4344]
This commit is contained in:
lukem 1997-10-25 10:04:40 +00:00
parent 0c77c25043
commit c4c746f831
1 changed files with 2 additions and 2 deletions

View File

@ -601,8 +601,8 @@ find_inode_file (node_num, major_num, minor_num)
temp = (temp + 1) % hash_size)
{
if (hash_table[temp]->inode == node_num
&& hash_table[start]->major_num == major_num
&& hash_table[start]->minor_num == minor_num)
&& hash_table[temp]->major_num == major_num
&& hash_table[temp]->minor_num == minor_num)
return hash_table[temp]->file_name;
}
}