]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe1fc31999e04f38c9864456b82defd66172c1a2
treefb49beb7726579f0d798cf4d72aab646f52e2e1c
parentd3947dff08691dac4d56317e4e88957857f589d2
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