ocfs2: Fix 2 warning during ocfs2 make.
authorTao Ma <tao.ma@oracle.com>
Wed, 18 Mar 2009 21:08:43 +0000 (05:08 +0800)
committerJoel Becker <joel.becker@oracle.com>
Tue, 21 Apr 2009 23:23:39 +0000 (16:23 -0700)
commit0fba813748f16f4eaf24d492c505226c4026d58f
tree844ff2c81adc12bab68e88a403fbdf3d48d92320
parent035a571120ddbe4f92b91bbe46f3eff05b6e43eb
ocfs2: Fix 2 warning during ocfs2 make.

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

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c
fs/ocfs2/suballoc.c