Merge "Creat hardlink if active apexes are in the same partition"
This commit is contained in:
@@ -249,7 +249,7 @@ class RollbackStore {
|
|||||||
targetDir.mkdirs();
|
targetDir.mkdirs();
|
||||||
File targetFile = new File(targetDir, sourceFile.getName());
|
File targetFile = new File(targetDir, sourceFile.getName());
|
||||||
|
|
||||||
boolean fallbackToCopy = !isLinkPossible(sourceFile, targetFile);
|
boolean fallbackToCopy = !isLinkPossible(sourceFile, targetDir);
|
||||||
if (!fallbackToCopy) {
|
if (!fallbackToCopy) {
|
||||||
try {
|
try {
|
||||||
// Create a hard link to avoid copy
|
// Create a hard link to avoid copy
|
||||||
|
|||||||
Reference in New Issue
Block a user