nilfs2: Remove an uninitialization warning in nilfs_btree_propagate_v()
authorLi Hong <lihong.hi@gmail.com>
Fri, 2 Apr 2010 10:40:39 +0000 (18:40 +0800)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 2 Apr 2010 11:03:30 +0000 (20:03 +0900)
commit308f44193f796b1c522b3b87760e43d8d8e316d2
treeda0fae6f13ce7ae48d67b6d362303fea312a6d88
parent753234007f4ac2c96921cfb19ec1ba535ac29790
nilfs2: Remove an uninitialization warning in nilfs_btree_propagate_v()

`make CONFIG_NILFS2_FS=m M=fs/nilfs2/` will give the following warnings:

fs/nilfs2/btree.c: In function 'nilfs_btree_propagate':
fs/nilfs2/btree.c:1882: warning: 'maxlevel' may be used uninitialized in this function
fs/nilfs2/btree.c:1882: note: 'maxlevel' was declared here

Set maxlevel = 0 to fix it.

Signed-off-by: Li Hong <lihong.hi@gmail.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/btree.c