aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-12-07 14:10:54 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-12-07 14:10:54 -0500
commitcfe82c856747b7841a3a00d591ce9ed46f579d27 (patch)
treeb5a306bdb06ead17bf19adc671df149aa9f0895e /fs/ext4/ext4.h
parent815a1130687ffac2c3e91513ce64aab629d6a54d (diff)
ext4: remove ext4_new_meta_block()
There were only two one callers of the function ext4_new_meta_block(), which just a very simpler wrapper function around ext4_new_meta_blocks(). Change those two functions to call ext4_new_meta_blocks() directly, to save code and stack space usage. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 74cb395e689f..ac8551e0b70a 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -998,8 +998,6 @@ extern ext4_grpblk_t ext4_block_group_offset(struct super_block *sb,
998extern int ext4_bg_has_super(struct super_block *sb, ext4_group_t group); 998extern int ext4_bg_has_super(struct super_block *sb, ext4_group_t group);
999extern unsigned long ext4_bg_num_gdb(struct super_block *sb, 999extern unsigned long ext4_bg_num_gdb(struct super_block *sb,
1000 ext4_group_t group); 1000 ext4_group_t group);
1001extern ext4_fsblk_t ext4_new_meta_block(handle_t *handle, struct inode *inode,
1002 ext4_fsblk_t goal, int *errp);
1003extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, 1001extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
1004 ext4_fsblk_t goal, unsigned long *count, int *errp); 1002 ext4_fsblk_t goal, unsigned long *count, int *errp);
1005extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); 1003extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks);