ext3: fix possible non-initialized variable on htree_dirblock_to_tree()
authorCarlos Maiolino <cmaiolino@redhat.com>
Mon, 1 Oct 2012 19:50:54 +0000 (16:50 -0300)
committerJan Kara <jack@suse.cz>
Tue, 9 Oct 2012 21:21:42 +0000 (23:21 +0200)
commitaa9660196b250b850c9d06046c9f3b1eb965a708
tree07834a02268c6ee2cb2b24921d049f6cc83ef511
parent9e2d8656f5e8aa214e66b462680cf86b210b74a8
ext3: fix possible non-initialized variable on htree_dirblock_to_tree()

This is a backport of ext4 commit 90b0a9732 which fixes a possible
non-initialized variable on htree_dirblock_to_tree().
Ext3 has the same non initialized variable, but, in any case it will be
initialized by ext3_get_blocks_handle(), which will avoid the bug to be
triggered, but, the non-initialized variable by htree_dirblock_to_tree() is
still a bug.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/namei.c