Whamcloud - gitweb
resize2fs: allow meta_bg/64-bit file systems to be online resized
authorTheodore Ts'o <tytso@mit.edu>
Fri, 31 Aug 2012 19:31:50 +0000 (15:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2012 03:05:32 +0000 (23:05 -0400)
commita4b738c0bf8ed3dfcbfab993f942e9bf3a7d4715
tree9e20f336b38071b61a670648b48dd0e9ebaf2044
parent7f82034438e424c766e1ad5847ed0e4ccc090edf
resize2fs: allow meta_bg/64-bit file systems to be online resized

Resize2fs can't handle resizing flex_bg file systems that do not have
the resize inode, but when the kernel adds support for resizing using
the meta_bg layout, we should allow it be able to resize the file
system.

So move the flex_bg/resize_inode check to the just before we start
doing the off-line resize, instead of doing it earlier where it would
prohibit these file systems for both on-line and off-line resizes.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/main.c