aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/suballoc.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-06-22 18:52:36 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2007-07-10 20:31:55 -0400
commit59a5e416d1ab543a5248a2b34d83202c4d55d132 (patch)
tree3e97ce48774d26e8a927edd839dd54a7d68f8c7d /fs/ocfs2/suballoc.c
parent2b604351bc99b4e4504758cbac369b660b71de0b (diff)
ocfs2: plug truncate into cached dealloc routines
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/suballoc.c')
-rw-r--r--fs/ocfs2/suballoc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c
index 6788f2f1a667..82bf12f887a6 100644
--- a/fs/ocfs2/suballoc.c
+++ b/fs/ocfs2/suballoc.c
@@ -1708,19 +1708,6 @@ int ocfs2_free_dinode(handle_t *handle,
1708 inode_alloc_bh, bit, bg_blkno, 1); 1708 inode_alloc_bh, bit, bg_blkno, 1);
1709} 1709}
1710 1710
1711int ocfs2_free_extent_block(handle_t *handle,
1712 struct inode *eb_alloc_inode,
1713 struct buffer_head *eb_alloc_bh,
1714 struct ocfs2_extent_block *eb)
1715{
1716 u64 blk = le64_to_cpu(eb->h_blkno);
1717 u16 bit = le16_to_cpu(eb->h_suballoc_bit);
1718 u64 bg_blkno = ocfs2_which_suballoc_group(blk, bit);
1719
1720 return ocfs2_free_suballoc_bits(handle, eb_alloc_inode, eb_alloc_bh,
1721 bit, bg_blkno, 1);
1722}
1723
1724int ocfs2_free_clusters(handle_t *handle, 1711int ocfs2_free_clusters(handle_t *handle,
1725 struct inode *bitmap_inode, 1712 struct inode *bitmap_inode,
1726 struct buffer_head *bitmap_bh, 1713 struct buffer_head *bitmap_bh,