• Zheng Liu's avatar
    ext4: fix missing call to trace_ext4_ext_map_blocks_exit · 37794732
    Zheng Liu authored
    When ext4_ext_handle_uninitialized_extents(), we will directly return
    from ext4_ext_map_blocks().  The trace point of
    trace_ext4_ext_map_blocks_exit isn't called, and the user doesn't see
    any result.  This patch tries to fix this problem.
    
    Meanwhile in ext4_ext_handle_uninitialized_extents it returns errors
    or the number of allocated blocks.  So 'ret' variable can be removed
    due to previously modifications.
    Signed-off-by: default avatarZheng Liu <wenqing.lz@taobao.com>
    37794732
extents.c 136 KB