Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-24 | Cleanup: gensquashfs: simplify apply_xattrs | David Oberhollenzer | |
- Pass the option structure along and use it's values rather than passing several of them individually - free() the path ASAP, so we don't have it around anymore when we go into the recursion step - shorten some argument names. Together with the above changes, this allows collapsing some multi line blocks into much simpler constructs. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2023-10-20 | Cleanup: gensquashfs: merge xattr scanning code | David Oberhollenzer | |
The fstree from file and directory xattr scanning code essentially do the same thing now. Except the later also _optionally_ reads xattrs from a directory source. Merge the two code paths. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> |