[Ocfs2-devel] [PATCH] ocfs2: Fix 2 warning during ocfs2 make.

Tao Ma tao.ma at oracle.com
Thu Mar 19 17:45:47 PDT 2009


Hi Mark,
	I saw this in your upstream-merge_window. And I compared it with your 
merge_window, the upstream one has more patches than the other, it looks 
like the branch you mentioned in "Ocfs2 updates for 2.6.30". The bug is 
found there.

Regards,
Tao

Mark Fasheh wrote:
> On Thu, Mar 19, 2009 at 05:08:43AM +0800, Tao Ma wrote:
>> fs/ocfs2/dir.c: In function ‘ocfs2_extend_dir’:
>> fs/ocfs2/dir.c:2700: warning: ‘ret’ may be used uninitialized in this function
>>
>> fs/ocfs2/suballoc.c: In function ‘ocfs2_get_suballoc_slot_bit’:
>> fs/ocfs2/suballoc.c:2216: warning: comparison is always true due to limited range of data type
> 
> Does the 2nd bug still exist in merge_window? I didn't see it, so I just
> merged the 1st one into merge_window.
> 	--Mark
> 
> 
> --
> Mark Fasheh



More information about the Ocfs2-devel mailing list