Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
273a7ed
)
There is no longer a need to check file->link_u.links at the start
author
Wayne Davison
<wayned@samba.org>
Sun, 31 Jul 2005 23:19:42 +0000
(23:19 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 31 Jul 2005 23:19:42 +0000
(23:19 +0000)
of hard_link_check() (because the caller has already checked it).
hlink.c
patch
|
blob
|
blame
|
history
diff --git
a/hlink.c
b/hlink.c
index
5a4077d
..
5c4cec0
100644
(file)
--- a/
hlink.c
+++ b/
hlink.c
@@
-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