summaryrefslogtreecommitdiff
path: root/fs/ext4/namei.c
diff options
context:
space:
mode:
authorBaokun Li <libaokun1@huawei.com>2022-05-28 14:00:16 +0300
committerTheodore Ts'o <tytso@mit.edu>2022-06-19 02:35:57 +0300
commitcf4ff938b47fc5c00b0ccce53a3b50eca9b32281 (patch)
tree8f5c001c273f043f954576f9917196398672e05b /fs/ext4/namei.c
parenta08f789d2ab5242c07e716baf9a835725046be89 (diff)
downloadlinux-cf4ff938b47fc5c00b0ccce53a3b50eca9b32281.tar.xz
ext4: correct the judgment of BUG in ext4_mb_normalize_request
ext4_mb_normalize_request() can move logical start of allocated blocks to reduce fragmentation and better utilize preallocation. However logical block requested as a start of allocation (ac->ac_o_ex.fe_logical) should always be covered by allocated blocks so we should check that by modifying and to or in the assertion. Signed-off-by: Baokun Li <libaokun1@huawei.com> Reviewed-by: Ritesh Harjani <ritesh.list@gmail.com> Link: https://lore.kernel.org/r/20220528110017.354175-3-libaokun1@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/namei.c')
0 files changed, 0 insertions, 0 deletions