Commit 8cd3db27 authored by Wayne Davison's avatar Wayne Davison

There is no longer a need to check file->link_u.links at the start

of hard_link_check() (because the caller has already checked it).
parent 273a7ed5
......@@ -173,8 +173,6 @@ int hard_link_check(struct file_struct *file, int ndx, char *fname,
{
#ifdef SUPPORT_HARD_LINKS
int head;
if (!file->link_u.links)
return 0;
if (skip && !(file->flags & FLAG_HLINK_EOL))
head = hlink_list[file->F_HLINDEX] = file->F_NEXT;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment