]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/pull-dkr.c
import: when downloading images, create a subtree quota group for them
[thirdparty/systemd.git] / src / import / pull-dkr.c
index b77f3e47f12802f1757a2c25269a11f3f074681c..84211d282b616bc76bfcae924bddd317952a21a9 100644 (file)
@@ -543,6 +543,8 @@ static int dkr_pull_job_on_open_disk(PullJob *j) {
         if (r < 0)
                 return log_error_errno(r, "Failed to make btrfs subvolume %s: %m", i->temp_path);
 
+        (void) import_assign_pool_quota_and_warn(i->temp_path);
+
         j->disk_fd = import_fork_tar_x(i->temp_path, &i->tar_pid);
         if (j->disk_fd < 0)
                 return j->disk_fd;