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

Commit edecdbef 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 am: f02f774e

parents 11b43553 f02f774e
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