extern int preserve_links;
extern int preserve_hard_links;
extern int preserve_devices;
-@@ -862,6 +863,10 @@ static struct file_struct *recv_file_ent
+@@ -865,6 +866,10 @@ static struct file_struct *recv_file_ent
if (preserve_acls)
receive_acl(file, f);
#endif
+ receive_xattr(file, f );
+#endif
- return file;
- }
-@@ -1134,7 +1139,7 @@ static struct file_struct *send_file_nam
+ if (S_ISREG(mode) || S_ISLNK(mode))
+ stats.total_size += file_length;
+@@ -1137,7 +1142,7 @@ static struct file_struct *send_file_nam
int flags, int filter_flags)
{
struct file_struct *file;
statx sx;
#endif
-@@ -1153,6 +1158,13 @@ static struct file_struct *send_file_nam
+@@ -1156,6 +1161,13 @@ static struct file_struct *send_file_nam
return NULL;
}
#endif
maybe_emit_filelist_progress(flist->count + flist_count_offset);
-@@ -1164,6 +1176,10 @@ static struct file_struct *send_file_nam
+@@ -1167,6 +1179,10 @@ static struct file_struct *send_file_nam
if (preserve_acls)
send_acl(&sx, f);
#endif
-o, --owner preserve owner (super-user only)
-g, --group preserve group
--devices preserve device files (super-user only)
-@@ -818,6 +819,11 @@ The ACL-sending protocol used by this ve
+@@ -835,6 +836,11 @@ The ACL-sending protocol used by this ve
the patch that was shipped with 2.6.8. Sending ACLs to an older version
of the ACL patch is not supported.