diff options
author | Andrej Lajovic <andrej.lajovic@ad-vega.si> | 2021-08-09 01:43:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-08-11 17:48:10 +0200 |
commit | 23e026de254df54119e6565bf7b638b9b83ec4fd (patch) | |
tree | 36f45ceabf1fc254c1d93163707ee4b79b4ed066 /src/import/pull-raw.c | |
parent | a0c5a3f0c052fc05542945688e20784b55a1303d (diff) | |
download | systemd-23e026de254df54119e6565bf7b638b9b83ec4fd.tar.gz |
shared/copy: add a new flag COPY_ALL_XATTRS
When the flag COPY_ALL_XATTRS is set, it causes the complete set of xattrs
to be copied. If the flag is unset, only xattrs from the "user" namespace
are copied.
Fixes #17178.
Diffstat (limited to 'src/import/pull-raw.c')
-rw-r--r-- | src/import/pull-raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/pull-raw.c b/src/import/pull-raw.c index ca4f250210..56c99a690e 100644 --- a/src/import/pull-raw.c +++ b/src/import/pull-raw.c @@ -371,7 +371,7 @@ static int raw_pull_make_local_copy(RawPull *i) { } (void) copy_times(i->raw_job->disk_fd, dfd, COPY_CRTIME); - (void) copy_xattr(i->raw_job->disk_fd, dfd); + (void) copy_xattr(i->raw_job->disk_fd, dfd, 0); dfd = safe_close(dfd); |