diff options
author | Shen Feng <shen@cn.fujitsu.com> | 2008-07-11 23:27:31 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-11 23:27:31 (GMT) |
commit | 69baee062a044ef1588e423e52131710e7584d1a (patch) | |
tree | b9ba2b28b041d1db20d822ba8fc37a3e6dfdc825 /fs/autofs | |
parent | 91d99827791fdd5f9424458ad5ae870f89dbcadf (diff) | |
download | linux-fsl-qoriq-69baee062a044ef1588e423e52131710e7584d1a.tar.xz |
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 <shen@cn.fujitsu.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions