ext3: improve some code in rb tree part of dir.c
authorShen Feng <shen@cn.fujitsu.com>
Fri, 25 Jul 2008 08:46:21 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:32 +0000 (10:53 -0700)
commit9ebfbe9f926553eabc21b4400918d1216b27ed0c
treefb49beb7726579f0d798cf4d72aab646f52e2e1c
parent1984bb763c2e50d0ebfb0cf56d1b319bd7afe63a
ext3: improve some code in rb tree part of dir.c

- remove unnecessary code in free_rb_tree_fname
 - rename free_rb_tree_fname to ext3_htree_create_dir_info
   since it and ext3_htree_free_dir_info are a pair
 - replace kmalloc with kzalloc in ext3_htree_free_dir_info

Signed-off-by: Shen Feng <shen@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/dir.c