summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorFrederic Bohe <frederic.bohe@bull.net>2008-07-11 19:27:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 19:27:31 -0400
commit5f21b0e642d7bf6fe4434c9ba12bc9cb96b17cf7 (patch)
tree0f391fac5cc7fa93129bf8dd853598c6d2d65bb5 /fs/ext4/ext4.h
parent953e622b601f58b7cc0f29fe644457fa40a18456 (diff)
downloadkernel-common-5f21b0e642d7bf6fe4434c9ba12bc9cb96b17cf7.tar.gz
kernel-common-5f21b0e642d7bf6fe4434c9ba12bc9cb96b17cf7.tar.bz2
kernel-common-5f21b0e642d7bf6fe4434c9ba12bc9cb96b17cf7.zip
ext4: fix online resize with mballoc
Update group infos when updating a group's descriptor. Add group infos when adding a group's descriptor. Refresh cache pages used by mb_alloc when changes occur. This will probably need modifications when META_BG resizing will be allowed. Signed-off-by: Frederic Bohe <frederic.bohe@bull.net> Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 2c4b48519c8b..64edb09c481e 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1033,6 +1033,10 @@ extern int __init init_ext4_mballoc(void);
extern void exit_ext4_mballoc(void);
extern void ext4_mb_free_blocks(handle_t *, struct inode *,
unsigned long, unsigned long, int, unsigned long *);
+extern int ext4_mb_add_more_groupinfo(struct super_block *sb,
+ ext4_group_t i, struct ext4_group_desc *desc);
+extern void ext4_mb_update_group_info(struct ext4_group_info *grp,
+ ext4_grpblk_t add);
/* inode.c */