commit | 06ca8da745767d139f79fe1a5842be064313bf71 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Sep 13 16:56:36 2012 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Sep 13 23:09:49 2012 -0400 |
tree | 8f6012396ee8c8c5e11664f456b50a9b3d1633c2 | |
parent | a4b738c0bf8ed3dfcbfab993f942e9bf3a7d4715 [diff] |
resize2fs: enforce restrictions if the kernel doesn't do meta_bg resizing Enhance the online resizing code to be more nuanced about resizing restrictions. If the kernel supports meta_bg resizing, then we can skip all of the restrictions. If the kernel does not support meta_bg resizing, check more carefully to make sure there are enough reserved gdt blocks, so that the user gets a clearer error message. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>