aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index faf5bd056a93..833d87236881 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2554,15 +2554,6 @@ exit_meta_group_info:
2554 return -ENOMEM; 2554 return -ENOMEM;
2555} /* ext4_mb_add_groupinfo */ 2555} /* ext4_mb_add_groupinfo */
2556 2556
2557/*
2558 * Update an existing group.
2559 * This function is used for online resize
2560 */
2561void ext4_mb_update_group_info(struct ext4_group_info *grp, ext4_grpblk_t add)
2562{
2563 grp->bb_free += add;
2564}
2565
2566static int ext4_mb_init_backend(struct super_block *sb) 2557static int ext4_mb_init_backend(struct super_block *sb)
2567{ 2558{
2568 ext4_group_t ngroups = ext4_get_groups_count(sb); 2559 ext4_group_t ngroups = ext4_get_groups_count(sb);