diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-12-07 14:10:54 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-12-07 14:10:54 -0500 |
commit | cfe82c856747b7841a3a00d591ce9ed46f579d27 (patch) | |
tree | b5a306bdb06ead17bf19adc671df149aa9f0895e /fs/ext4/ext4.h | |
parent | 815a1130687ffac2c3e91513ce64aab629d6a54d (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.h | 2 |
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, | |||
998 | extern int ext4_bg_has_super(struct super_block *sb, ext4_group_t group); | 998 | extern int ext4_bg_has_super(struct super_block *sb, ext4_group_t group); |
999 | extern unsigned long ext4_bg_num_gdb(struct super_block *sb, | 999 | extern unsigned long ext4_bg_num_gdb(struct super_block *sb, |
1000 | ext4_group_t group); | 1000 | ext4_group_t group); |
1001 | extern ext4_fsblk_t ext4_new_meta_block(handle_t *handle, struct inode *inode, | ||
1002 | ext4_fsblk_t goal, int *errp); | ||
1003 | extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, | 1001 | extern 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); |
1005 | extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); | 1003 | extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); |