summaryrefslogtreecommitdiff
path: root/lib/sqfshelper/sqfs_reader.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 03:38:15 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 18:34:16 +0200
commit08c22510ba901d73f2841434e7e6a2a688b31fa8 (patch)
treed47ec6fa8c5d61739a71468efa5a3046336c513f /lib/sqfshelper/sqfs_reader.c
parent9293e4ed36ace256666cddee1b96381b456b0ce7 (diff)
Remove xattr restore & rest of rdtree flags
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfshelper/sqfs_reader.c')
-rw-r--r--lib/sqfshelper/sqfs_reader.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/sqfshelper/sqfs_reader.c b/lib/sqfshelper/sqfs_reader.c
index e9c9c33..b947cf7 100644
--- a/lib/sqfshelper/sqfs_reader.c
+++ b/lib/sqfshelper/sqfs_reader.c
@@ -12,7 +12,7 @@
#include <unistd.h>
#include <fcntl.h>
-int sqfs_reader_open(sqfs_reader_t *rd, const char *filename, int rdtree_flags)
+int sqfs_reader_open(sqfs_reader_t *rd, const char *filename)
{
sqfs_compressor_config_t cfg;
@@ -43,13 +43,8 @@ int sqfs_reader_open(sqfs_reader_t *rd, const char *filename, int rdtree_flags)
goto fail_cmp;
}
- if (rd->super.flags & SQFS_FLAG_NO_XATTRS)
- rdtree_flags &= ~RDTREE_READ_XATTR;
-
- if (deserialize_fstree(&rd->fs, &rd->super, rd->cmp, rd->file,
- rdtree_flags)) {
+ if (deserialize_fstree(&rd->fs, &rd->super, rd->cmp, rd->file))
goto fail_cmp;
- }
fstree_gen_file_list(&rd->fs);