diff options
| author | Gao Xiang <[email protected]> | 2019-05-28 11:19:43 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-30 13:59:10 -0700 |
| commit | fe6d98750cf04597af36cbd775eede4afe0d3730 (patch) | |
| tree | 92f62c437679e41d9568a0bebb82849101fb92af /tools/perf/scripts/python | |
| parent | 89f27eded5b63c697287050d9ef5c713cde0af98 (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