summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-06-03 23:03:10 +0800
committerTheodore Ts'o <tytso@mit.edu>2023-06-15 00:02:10 -0400
commit497885f72d930305d8e61b6b616b22b4da1adf90 (patch)
treed7aa7a384f664f3bfa8b67346f0fdb8dba083563 /tools/perf/scripts/python
parentb3916da0d9636285c8a881802956631f9e2ebb5b (diff)
ext4: fix unit mismatch in ext4_mb_new_blocks_simple
The "i" returned from mb_find_next_zero_bit is in cluster unit and we need offset "block" corresponding to "i" in block unit. Convert "i" to block unit to fix the unit mismatch. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Link: https://lore.kernel.org/r/20230603150327.3596033-3-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions