From 3511b1fa7c6f71c579e161951e945904e552e1d9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 25 Sep 2019 17:47:19 +0200 Subject: Remove condensed sparse file handling from libsquashfs This only exists for tar2sqfs. Move the sparse file map to libtar and add the ability to do this into the stind sqfs_file_t abstraction, so it acts like a normal file but internally stitches the data together from the sparse implementation. Signed-off-by: David Oberhollenzer --- tests/tar_sparse_gnu.c | 2 +- tests/tar_sparse_gnu1.c | 2 +- tests/tar_sparse_gnu2.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/tar_sparse_gnu.c b/tests/tar_sparse_gnu.c index e0a0200..7cd6132 100644 --- a/tests/tar_sparse_gnu.c +++ b/tests/tar_sparse_gnu.c @@ -36,7 +36,7 @@ static int open_read(const char *path) int main(void) { tar_header_decoded_t hdr; - sqfs_sparse_map_t *sparse; + sparse_map_t *sparse; int fd; assert(chdir(TEST_PATH) == 0); diff --git a/tests/tar_sparse_gnu1.c b/tests/tar_sparse_gnu1.c index 0d8ab6b..366b0f4 100644 --- a/tests/tar_sparse_gnu1.c +++ b/tests/tar_sparse_gnu1.c @@ -36,7 +36,7 @@ static int open_read(const char *path) int main(void) { tar_header_decoded_t hdr; - sqfs_sparse_map_t *sparse; + sparse_map_t *sparse; int fd; assert(chdir(TEST_PATH) == 0); diff --git a/tests/tar_sparse_gnu2.c b/tests/tar_sparse_gnu2.c index 568c402..cfc7eb3 100644 --- a/tests/tar_sparse_gnu2.c +++ b/tests/tar_sparse_gnu2.c @@ -36,7 +36,7 @@ static int open_read(const char *path) int main(void) { tar_header_decoded_t hdr; - sqfs_sparse_map_t *sparse; + sparse_map_t *sparse; int fd; assert(chdir(TEST_PATH) == 0); -- cgit v1.2.3