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

Mark Fasheh mfasheh at suse.com
Thu Mar 19 17:38:46 PDT 2009


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