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

Commit 588919f1 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge changes I6457933a,I955aa0fa am: db3c8985 am: 1a34e1ed

am: 512ef047

Change-Id: I4a6d1a5abbfd002f6cbefc28c1fef1a6a1aaa4bd
parents 132b87c0 512ef047
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)
  # TODO(b/122328872) Fix estimation algorithm to not need the multiplier.
  return output.count('\n') * 2
  # increase by > 4% as number of files and directories is not whole picture.
  return output.count('\n') * 25 // 24


def GetFilesystemCharacteristics(image_path, sparse_image=True):