From c9a8adc15f9de110771156fdc85fb98533648a53 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 5 Jun 2023 19:06:42 +0200 Subject: Move dir_entry_xattr_t from libio to libsquashfs The structure and functions are renamed to sqfs_xattr_* instead, an additional helper is added to accept an encoded xattr. Documentation and unit test are added as well. Signed-off-by: David Oberhollenzer --- lib/tar/src/cleanup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tar/src/cleanup.c') diff --git a/lib/tar/src/cleanup.c b/lib/tar/src/cleanup.c index 3ba8019..145f34d 100644 --- a/lib/tar/src/cleanup.c +++ b/lib/tar/src/cleanup.c @@ -7,6 +7,7 @@ #include "config.h" #include "internal.h" +#include "sqfs/xattr.h" #include #include @@ -23,7 +24,7 @@ void free_sparse_list(sparse_map_t *sparse) void clear_header(tar_header_decoded_t *hdr) { - dir_entry_xattr_list_free(hdr->xattr); + sqfs_xattr_list_free(hdr->xattr); free_sparse_list(hdr->sparse); free(hdr->name); free(hdr->link_target); -- cgit v1.2.3