diff options
Diffstat (limited to 'lib/sqfs/sqfs_reader.c')
-rw-r--r-- | lib/sqfs/sqfs_reader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqfs/sqfs_reader.c b/lib/sqfs/sqfs_reader.c index 85cf97a..197e08f 100644 --- a/lib/sqfs/sqfs_reader.c +++ b/lib/sqfs/sqfs_reader.c @@ -40,6 +40,9 @@ 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->sqfsfd, rdtree_flags)) { goto fail_cmp; |