ocfs2: Make truncating the extent map an extent_tree_operation.
authorJoel Becker <joel.becker@oracle.com>
Fri, 13 Feb 2009 10:50:12 +0000 (02:50 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 4 Sep 2009 23:08:03 +0000 (16:08 -0700)
commit4c911eefca316f580f174940cd67d561b4b7e6e8
tree785ae90d5e2f0fe71c37aa39027c7144abab3d0c
parent043beebb6c467a07ccd7aa666095f87fade1c28e
ocfs2: Make truncating the extent map an extent_tree_operation.

ocfs2_remove_extent() wants to truncate the extent map if it's
truncating an inode data extent.  But since many btrees can call that
function, let's make it an op on ocfs2_extent_tree.  Other tree types
can leave it empty.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/alloc.c