diff options
author | Kemeng Shi <[email protected]> | 2023-06-03 23:03:10 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-06-15 00:02:10 -0400 |
commit | 497885f72d930305d8e61b6b616b22b4da1adf90 (patch) | |
tree | d7aa7a384f664f3bfa8b67346f0fdb8dba083563 /drivers/fpga/fpga-mgr.c | |
parent | b3916da0d9636285c8a881802956631f9e2ebb5b (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 <[email protected]>
Reviewed-by: Ojaswin Mujoo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions