From 583331233a21c554f546fffa3ceebc0143085c9f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 1 Aug 2019 15:25:23 +0200 Subject: Fix super block flags: clear "no xattr" flag when writing xattrs Signed-off-by: David Oberhollenzer --- lib/sqfs/write_xattr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/sqfs') diff --git a/lib/sqfs/write_xattr.c b/lib/sqfs/write_xattr.c index ce606e3..712c6e9 100644 --- a/lib/sqfs/write_xattr.c +++ b/lib/sqfs/write_xattr.c @@ -294,6 +294,7 @@ int write_xattr(int outfd, fstree_t *fs, sqfs_super_t *super, super->xattr_id_table_start = super->bytes_used; super->bytes_used += sizeof(idtbl) + sizeof(tbl[0]) * blocks; + super->flags &= ~SQFS_FLAG_NO_XATTRS; free(tbl); meta_writer_destroy(mw); -- cgit v1.2.3