diff options
author | Amir Goldstein <amir73il@users.sf.net> | 2011-05-09 10:46:41 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-05-09 10:46:41 -0400 |
commit | 2846e82004a8d5ef0a63cd3209c84ea5cd796f11 (patch) | |
tree | 3b20c08ce64e918d4217bb95228fc597c63bf0e0 /fs/ext4/ext4.h | |
parent | 66bb82798d9ff896271d13f5020f7fb9b7d88e1a (diff) | |
download | linux-2846e82004a8d5ef0a63cd3209c84ea5cd796f11.tar.gz linux-2846e82004a8d5ef0a63cd3209c84ea5cd796f11.tar.bz2 linux-2846e82004a8d5ef0a63cd3209c84ea5cd796f11.zip |
ext4: move ext4_add_groupblocks() to mballoc.c
In preparation for the next patch, the function ext4_add_groupblocks()
is moved to mballoc.c, where it could use some static functions.
Signed-off-by: Amir Goldstein <amir73il@users.sf.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 076c5d212a3c..47986ae8dcec 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -1655,8 +1655,6 @@ extern unsigned long ext4_bg_num_gdb(struct super_block *sb, extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, ext4_fsblk_t goal, unsigned long *count, int *errp); extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); -extern void ext4_add_groupblocks(handle_t *handle, struct super_block *sb, - ext4_fsblk_t block, unsigned long count); extern ext4_fsblk_t ext4_count_free_blocks(struct super_block *); extern void ext4_check_blocks_bitmap(struct super_block *); extern struct ext4_group_desc * ext4_get_group_desc(struct super_block * sb, @@ -1721,6 +1719,8 @@ extern void ext4_free_blocks(handle_t *handle, struct inode *inode, unsigned long count, int flags); extern int ext4_mb_add_groupinfo(struct super_block *sb, ext4_group_t i, struct ext4_group_desc *desc); +extern void ext4_add_groupblocks(handle_t *handle, struct super_block *sb, + ext4_fsblk_t block, unsigned long count); extern int ext4_trim_fs(struct super_block *, struct fstrim_range *); /* inode.c */ |