ext4: add a function merging extents right and left
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Tue, 3 May 2011 15:45:29 +0000 (11:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 May 2011 15:45:29 +0000 (11:45 -0400)
1) Rename ext4_ext_try_to_merge() to ext4_ext_try_to_merge_right().

2) Add a new function ext4_ext_try_to_merge() which tries to merge
   an extent both left and right.

3) Use the new function in ext4_ext_convert_unwritten_endio() and
   ext4_ext_insert_extent().

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Tested-by: Allison Henderson <achender@linux.vnet.ibm.com>

No differences found