Revert "Increase slack for inode estimation algorithm"

This reverts commit e8e7958c13.

Test: build
Bug: 122328872
Change-Id: I955aa0fa489ab62ec1643127d106925dcb9675ca
This commit is contained in:
Hridya Valsaraju 2019-01-03 17:19:50 -08:00 committed by Mark Salyzyn
parent 1df75e3099
commit 9aa42f1721

View file

@ -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 25 % as number of files and directories is not whole picture.
return output.count('\n') * 30 // 24
def GetFilesystemCharacteristics(image_path, sparse_image=True):