From: Shen Feng Date: Fri, 11 Jul 2008 23:27:31 +0000 (-0400) Subject: ext4: improve some code in rb tree part of dir.c X-Git-Tag: v2.6.27-rc1~1087^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69baee062a044ef1588e423e52131710e7584d1a;p=pandora-kernel.git ext4: improve some code in rb tree part of dir.c * remove unnecessary code in free_rb_tree_fname * rename free_rb_tree_fname to ext4_htree_create_dir_info since it and ext4_htree_free_dir_info are a pair * replace kmalloc with kzalloc in ext4_htree_free_dir_info All these make the code more readable and simple. PS: this patch is also suitable for ext3. Signed-off-by: Shen Feng Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed