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

Commit e5af4430 authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

Merge "Increase slack for inode estimation algorithm"

am: dacde225

Change-Id: Icd1fa92d05ca5b7da1211f2a15cfe70552c83bb3
parents ace7ef95 dacde225
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -75,8 +75,8 @@ def GetInodeUsage(path):
  """
  cmd = ["find", path, "-print"]
  output = common.RunAndCheckOutput(cmd, verbose=False)
  # increase by 25 % as number of files and directories is not whole picture.
  return output.count('\n') * 30 // 24
  # TODO(b/122328872) Fix estimation algorithm to not need the multiplier.
  return output.count('\n') * 2


def GetFilesystemCharacteristics(sparse_image_path):