Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f02f774e authored by Zhi Dou's avatar Zhi Dou Committed by Automerger Merge Worker
Browse files

Merge "Creat hardlink if active apexes are in the same partition" am: fea0bb71

parents fda52cfa fea0bb71
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ class RollbackStore {
        targetDir.mkdirs();
        File targetFile = new File(targetDir, sourceFile.getName());

        boolean fallbackToCopy = !isLinkPossible(sourceFile, targetFile);
        boolean fallbackToCopy = !isLinkPossible(sourceFile, targetDir);
        if (!fallbackToCopy) {
            try {
                // Create a hard link to avoid copy