diff options
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r-- | mkfs/mkfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c index f0d1e73..b11dce0 100644 --- a/mkfs/mkfs.c +++ b/mkfs/mkfs.c @@ -81,6 +81,9 @@ static int read_fstree(fstree_t *fs, options_t *opt) if (opt->one_filesystem) flags |= DIR_SCAN_ONE_FILESYSTEM; + if (opt->keep_xattr) + flags |= DIR_SCAN_READ_XATTR; + return fstree_from_dir(fs, opt->packdir, flags); } |