ser_uint32(current_xattr->value_length);
if (current_xattr->value_length > 0 && current_xattr->value) {
ser_bytes(current_xattr->value, current_xattr->value_length);
+
+ Dmsg3(100, "Backup xattr named %s, value %*s\n",
+ current_xattr->name, current_xattr->value, current_xattr->value);
+ } else {
+ Dmsg1(100, "Backup empty xattr named %s\n", current_xattr->name);
}
}
*/
current_xattr->value = (char *)malloc(current_xattr->value_length);
unser_bytes(current_xattr->value, current_xattr->value_length);
+
+ Dmsg3(100, "Restoring xattr named %s, value %*s\n",
+ current_xattr->name, current_xattr->value, current_xattr->value);
} else {
current_xattr->value = NULL;
+ Dmsg1(100, "Restoring empty xattr named %s\n", current_xattr->name);
}
xattr_value_list->append(current_xattr);
name_length = strlen(bp);
if (skip_xattr || name_length == 0) {
bp = strchr(bp, '\0') + 1;
+ Dmsg1(100, "Skipping xattr named %s\n", current_xattr->name);
continue;
}
name_len = strlen(bp);
if (skip_xattr || name_len == 0) {
bp = strchr(bp, '\0') + 1;
+ Dmsg1(100, "Skipping xattr named %s\n", current_xattr->name);
continue;
}
}
if (skip_xattr) {
+ Dmsg1(100, "Skipping xattr named %s\n", current_xattr->name);
continue;
}
}
if (skip_xattr) {
+ Dmsg1(100, "Skipping xattr named %s\n", current_xattr->name);
continue;
}