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:
aa0b9ca
)
If XMIT_HAS_IDEV_DATA is set in receive_file_entry(), we now bomb out
author
Wayne Davison
<wayned@samba.org>
Tue, 10 Feb 2004 17:53:52 +0000
(17:53 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 10 Feb 2004 17:53:52 +0000
(17:53 +0000)
if flist->hlink_pool isn't set (instead of neglecting to read the idev
info).
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
873ffb8
..
ace6484
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-659,7
+659,7
@@
void receive_file_entry(struct file_struct **fptr, unsigned short flags,
#if SUPPORT_HARD_LINKS
if (preserve_hard_links && protocol_version < 28 && S_ISREG(mode))
flags |= XMIT_HAS_IDEV_DATA;
- if (flags & XMIT_HAS_IDEV_DATA
&& flist->hlink_pool
) {
+ if (flags & XMIT_HAS_IDEV_DATA) {
INO64_T inode;
file->link_u.idev = pool_talloc(flist->hlink_pool,
struct idev, 1, "inode_table");