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:
parent
0c77c25043
commit
c4c746f831
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue