Commit bb91a624 authored by Wayne Davison's avatar Wayne Davison

Made hard_link_check() compile when SUPPORT_HARD_LINKS isn't enabled.

parent a04d77bc
......@@ -135,6 +135,7 @@ void init_hard_links(struct file_list *flist)
int hard_link_check(struct file_struct *file, int skip)
{
#if SUPPORT_HARD_LINKS
if (!hlink_list || !file->link_u.links)
return 0;
if (skip && !(file->flags & FLAG_HLINK_EOL))
......@@ -146,6 +147,7 @@ int hard_link_check(struct file_struct *file, int skip)
}
return 1;
}
#endif
return 0;
}
......
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