Commit Message

From: Zheng Liu <wenqing.lz@taobao.com>
When ext4_ext_handle_uninitialized_extents is called, 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 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Comments

On Tue, Oct 16, 2012 at 03:31:36PM +0800, Zheng Liu wrote:
> From: Zheng Liu <wenqing.lz@taobao.com>> > When ext4_ext_handle_uninitialized_extents is called, 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>
Applied, thanks.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html