diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-06-22 15:52:36 -0700 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-07-10 17:31:55 -0700 |
commit | 59a5e416d1ab543a5248a2b34d83202c4d55d132 (patch) | |
tree | 3e97ce48774d26e8a927edd839dd54a7d68f8c7d /fs/ocfs2/suballoc.c | |
parent | 2b604351bc99b4e4504758cbac369b660b71de0b (diff) | |
download | op-kernel-dev-59a5e416d1ab543a5248a2b34d83202c4d55d132.zip op-kernel-dev-59a5e416d1ab543a5248a2b34d83202c4d55d132.tar.gz |
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.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index 6788f2f..82bf12f 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c @@ -1708,19 +1708,6 @@ int ocfs2_free_dinode(handle_t *handle, inode_alloc_bh, bit, bg_blkno, 1); } -int ocfs2_free_extent_block(handle_t *handle, - struct inode *eb_alloc_inode, - struct buffer_head *eb_alloc_bh, - struct ocfs2_extent_block *eb) -{ - u64 blk = le64_to_cpu(eb->h_blkno); - u16 bit = le16_to_cpu(eb->h_suballoc_bit); - u64 bg_blkno = ocfs2_which_suballoc_group(blk, bit); - - return ocfs2_free_suballoc_bits(handle, eb_alloc_inode, eb_alloc_bh, - bit, bg_blkno, 1); -} - int ocfs2_free_clusters(handle_t *handle, struct inode *bitmap_inode, struct buffer_head *bitmap_bh, |