Btrfs: clean up code for merging extent maps
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 14 Jul 2011 03:18:33 +0000 (03:18 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:50 +0000 (14:30 -0400)
commit4d2c8f62f12a6652db67cc0c1f4a4a498b05ddbc
treeebc07d75a30f84d4f8c9b8e86720307c02fe9023
parented64f06652210b4a52fe0ea65ac43f9c6af1d988
Btrfs: clean up code for merging extent maps

unpin_extent_cache() and add_extent_mapping() shares the same code
that merges extent maps.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_map.c