aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 152c390f3c3f..10ce275ebbf1 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -741,26 +741,6 @@ ext4_fsblk_t ext4_new_meta_block(handle_t *handle, struct inode *inode,
741 return ext4_new_meta_blocks(handle, inode, goal, &count, errp); 741 return ext4_new_meta_blocks(handle, inode, goal, &count, errp);
742} 742}
743 743
744/*
745 * ext4_new_blocks() -- allocate data blocks
746 *
747 * @handle: handle to this transaction
748 * @inode: file inode
749 * @goal: given target block(filesystem wide)
750 * @count: total number of blocks need
751 * @errp: error code
752 *
753 * Return 1st allocated block numberon success, *count stores total account
754 * error stores in errp pointer
755 */
756
757ext4_fsblk_t ext4_new_blocks(handle_t *handle, struct inode *inode,
758 ext4_lblk_t iblock, ext4_fsblk_t goal,
759 unsigned long *count, int *errp)
760{
761 return do_blk_alloc(handle, inode, iblock, goal, count, errp, 0);
762}
763
764/** 744/**
765 * ext4_count_free_blocks() -- count filesystem free blocks 745 * ext4_count_free_blocks() -- count filesystem free blocks
766 * @sb: superblock 746 * @sb: superblock