diff options
author | Kemeng Shi <[email protected]> | 2023-06-03 23:03:09 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-06-15 00:02:10 -0400 |
commit | b3916da0d9636285c8a881802956631f9e2ebb5b (patch) | |
tree | 0d55d2c90abfa6ae8876073fc9c43f33d17e92f3 /drivers/fpga/fpga-mgr.c | |
parent | 0dea40aa315d01f5d0ffbd871483ea8a45c71f65 (diff) |
ext4: fix wrong unit use in ext4_mb_normalize_request
NRL_CHECK_SIZE will compare input req and size, so req and size should
be in same unit. Input req "fe_len" is in cluster unit while input
size "(8<<20)>>bsbits" is in block unit. Convert "fe_len" to block
unit to fix the 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