ext4: fix missing call to trace_ext4_ext_map_blocks_exit
authorZheng Liu <wenqing.lz@taobao.com>
Thu, 8 Nov 2012 19:47:52 +0000 (14:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Nov 2012 19:47:52 +0000 (14:47 -0500)
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: Zheng Liu <wenqing.lz@taobao.com>
fs/ext4/extents.c

Simple merge