summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-14 16:30:46 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-21 20:53:09 +0100
commit7c2f5495e27283c757a5eb544af7654c8f60e50d (patch)
treefec5aac5976b64120c3b27600089d0247328cc40 /src/import
parentf3e03bd04e21c00cd251bf69a346d0ae505b6494 (diff)
downloadsystemd-7c2f5495e27283c757a5eb544af7654c8f60e50d.tar.gz
copy: Move chattr arguments to full function signatures
These are almost never used, so let's move them to the _full() functions signatures.
Diffstat (limited to 'src/import')
-rw-r--r--src/import/pull-raw.c1
-rw-r--r--src/import/pull-tar.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/import/pull-raw.c b/src/import/pull-raw.c
index 8a152d0f6f..3befa96a04 100644
--- a/src/import/pull-raw.c
+++ b/src/import/pull-raw.c
@@ -327,7 +327,6 @@ static int raw_pull_copy_auxiliary_file(
*path,
local,
0644,
- 0, 0,
COPY_REFLINK |
(FLAGS_SET(i->flags, PULL_FORCE) ? COPY_REPLACE : 0) |
(FLAGS_SET(i->flags, PULL_SYNC) ? COPY_FSYNC_FULL : 0));
diff --git a/src/import/pull-tar.c b/src/import/pull-tar.c
index d3a1179ebc..f22eb0e3a3 100644
--- a/src/import/pull-tar.c
+++ b/src/import/pull-tar.c
@@ -275,7 +275,6 @@ static int tar_pull_make_local_copy(TarPull *i) {
i->settings_path,
local_settings,
0664,
- 0, 0,
COPY_REFLINK |
(FLAGS_SET(i->flags, PULL_FORCE) ? COPY_REPLACE : 0) |
(FLAGS_SET(i->flags, PULL_SYNC) ? COPY_FSYNC_FULL : 0));