]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/home/homework-directory.c
btrfs-util: Move subvolume creation to basic/btrfs.h
[thirdparty/systemd.git] / src / home / homework-directory.c
index 575ac525512086c4c288ac0f3777d91334361853..4ec5f3dde105524e120e91bf7fe20711e19e0e43 100644 (file)
@@ -131,7 +131,7 @@ int home_create_directory_or_subvolume(UserRecord *h, HomeSetup *setup, UserReco
 
         case USER_SUBVOLUME:
                 WITH_UMASK(0077)
-                        r = btrfs_subvol_make(d);
+                        r = btrfs_subvol_make(AT_FDCWD, d);
 
                 if (r >= 0) {
                         log_info("Subvolume created.");