aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2019-05-28 11:19:43 +0800
committerGreg Kroah-Hartman <[email protected]>2019-05-30 13:59:10 -0700
commitfe6d98750cf04597af36cbd775eede4afe0d3730 (patch)
tree92f62c437679e41d9568a0bebb82849101fb92af /tools/perf/scripts/python
parent89f27eded5b63c697287050d9ef5c713cde0af98 (diff)
staging: erofs: fix i_blocks calculation
For compressed files, i_blocks should not be calculated by using i_size. use i_u.compressed_blocks instead. In addition, i_blocks was miscalculated for non-compressed files previously, fix it as well. Signed-off-by: Gao Xiang <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions