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) |
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, | |||
1655 | extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, | 1655 | extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, |
1656 | ext4_fsblk_t goal, unsigned long *count, int *errp); | 1656 | ext4_fsblk_t goal, unsigned long *count, int *errp); |
1657 | extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); | 1657 | extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); |
1658 | extern void ext4_add_groupblocks(handle_t *handle, struct super_block *sb, | ||
1659 | ext4_fsblk_t block, unsigned long count); | ||
1660 | extern ext4_fsblk_t ext4_count_free_blocks(struct super_block *); | 1658 | extern ext4_fsblk_t ext4_count_free_blocks(struct super_block *); |
1661 | extern void ext4_check_blocks_bitmap(struct super_block *); | 1659 | extern void ext4_check_blocks_bitmap(struct super_block *); |
1662 | extern struct ext4_group_desc * ext4_get_group_desc(struct super_block * sb, | 1660 | 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, | |||
1721 | unsigned long count, int flags); | 1719 | unsigned long count, int flags); |
1722 | extern int ext4_mb_add_groupinfo(struct super_block *sb, | 1720 | extern int ext4_mb_add_groupinfo(struct super_block *sb, |
1723 | ext4_group_t i, struct ext4_group_desc *desc); | 1721 | ext4_group_t i, struct ext4_group_desc *desc); |
1722 | extern void ext4_add_groupblocks(handle_t *handle, struct super_block *sb, | ||
1723 | ext4_fsblk_t block, unsigned long count); | ||
1724 | extern int ext4_trim_fs(struct super_block *, struct fstrim_range *); | 1724 | extern int ext4_trim_fs(struct super_block *, struct fstrim_range *); |
1725 | 1725 | ||
1726 | /* inode.c */ | 1726 | /* inode.c */ |