diff options
author | Zheng Liu <wenqing.lz@taobao.com> | 2013-02-18 05:26:51 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-02-18 05:26:51 (GMT) |
commit | 06b0c886214a223dde7b21cbfc3008fd20a8ce16 (patch) | |
tree | c1d3c51622e2a885446e8d617b953405412fc3aa /fs/ext4/inode.c | |
parent | 0f70b40613ee14b0cadafeb461034cff81b4419a (diff) | |
download | linux-06b0c886214a223dde7b21cbfc3008fd20a8ce16.tar.xz |
ext4: refine extent status tree
This commit refines the extent status tree code.
1) A prefix 'es_' is added to to the extent status tree structure
members.
2) Refactored es_remove_extent() so that __es_remove_extent() can be
used by es_insert_extent() to remove the old extent entry(-ies) before
inserting a new one.
3) Rename extent_status_end() to ext4_es_end()
4) ext4_es_can_be_merged() is define to check whether two extents can
be merged or not.
5) Update and clarified comments.
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions