]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: Remove outdated comment 26410/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 Feb 2023 14:09:54 +0000 (15:09 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 Feb 2023 14:09:54 +0000 (15:09 +0100)
src/partition/repart.c

index 20f571e4cb015001ef9fa014570c5a74eacaa6d3..272bf19431d934aa58ac0f5c9ad8d30e1bfbaf83 100644 (file)
@@ -3813,10 +3813,6 @@ static int do_copy_files(Partition *p, const char *root, const Set *denylist) {
                                 if (pfd < 0)
                                         return log_error_errno(pfd, "Failed to open parent directory of target: %m");
 
-                                /* Make sure everything is owned by the user running repart so that
-                                 * make_filesystem() can map the user running repart to "root" in a user
-                                 * namespace to have the files owned by root in the final image. */
-
                                 r = copy_tree_at(
                                                 sfd, ".",
                                                 pfd, fn,