[Ocfs2-tools-devel] [PATCH 12/15] dx_dirs v10: fix return value of walk_dirblock() when enable metaecc

Mark Fasheh mfasheh at suse.com
Wed Mar 31 15:50:48 PDT 2010


On Thu, Mar 25, 2010 at 03:51:53AM +0800, Coly Li wrote:
> If there is no error, the return value 'ret' might be used with
> undefined initial value. This patch fixes the error by initiating
> it to 0.
> 
> Reported-by: Vit Pelcak <vpelcak at novell.com>
> Signed-off-by: Coly Li <coly.li at suse.de>

Acked-by: Mark Fasheh <mfasheh at suse.com>

--
Mark Fasheh



More information about the Ocfs2-tools-devel mailing list