ext4: add a function which updates the super block during online resizing
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 4 Jan 2012 04:41:39 +0000 (23:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jan 2012 04:41:39 +0000 (23:41 -0500)
commit2e10e2f2e5a800a54ad2f16dfdd8c034e005958b
treedb5e556ab10f5b06824b6acb96155b2190750986
parent083f5b24cc55448e0602a807a5c2872e1f3796e2
ext4: add a function which updates the super block during online resizing

This patch adds a function named ext4_update_super() which updates
super block so the newly created block groups are visible to the file
system.  This code is copied from ext4_group_add().

The function will be used by new resize implementation.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c