ext4: add ext4_split_extent_at() and ext4_split_extent()
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Tue, 3 May 2011 16:23:07 +0000 (12:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 May 2011 16:23:07 +0000 (12:23 -0400)
commit47ea3bb59cf47298b1cbb4d7bef056b3afea0879
tree20d3f182b3fe743e7ca221dc2ae2cf7ab93ba6b8
parent197217a5af79c23609da03eda2a52ee8603eec52
ext4: add ext4_split_extent_at() and ext4_split_extent()

Add two functions: ext4_split_extent_at(), which splits an extent into
two extents at given logical block, and ext4_split_extent() which
splits an extent into three extents.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Tested-by: Allison Henderson <achender@linux.vnet.ibm.com>
fs/ext4/extents.c