summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-13 10:16:46 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-19 18:43:55 +0200
commitfef051fb89071a5f58715e389f7a9c4d95231d78 (patch)
tree08f068661495ee401f5026dc7d45a684c3092186 /mkfs/mkfs.c
parent0e7fba27a26694f6babe5bd5de93733760cd770d (diff)
Generate extended attribute table
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index d028a9d..56f8842 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -116,6 +116,9 @@ int main(int argc, char **argv)
if (id_table_write(&info.idtbl, info.outfd, &info.super, info.cmp))
goto out_cmp;
+ if (write_xattr(&info))
+ goto out_cmp;
+
if (sqfs_super_write(&info.super, info.outfd))
goto out_cmp;