ext4: add a function which adds a new group descriptors to a fs
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 4 Jan 2012 04:20:50 +0000 (23:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jan 2012 04:20:50 +0000 (23:20 -0500)
commitbb08c1e7d8c072da338f6d905a89376b36023017
tree01c403e7e76c5ab19b9852ba774dc138c7249482
parent18e3143848f1abdd07e7d9879cf67f4e147ff8b7
ext4: add a function which adds a new group descriptors to a fs

This patch adds a function named ext4_add_new_descs() which adds one
or more new group descriptors to a fs and whose 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