diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-09-19 00:55:56 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-09-19 00:55:56 -0400 |
commit | 59e31c156a24d483bbd2ea07d4dc96043a55b6bc (patch) | |
tree | adb76b9f52a862c4a844be737c7f16c4a8dbaa81 /fs/ext4/Makefile | |
parent | c9b92530a723ac5ef8e352885a1862b18f31b2f5 (diff) | |
download | linux-59e31c156a24d483bbd2ea07d4dc96043a55b6bc.tar.gz linux-59e31c156a24d483bbd2ea07d4dc96043a55b6bc.tar.bz2 linux-59e31c156a24d483bbd2ea07d4dc96043a55b6bc.zip |
ext4: fix online resizing when the # of block groups is constant
Commit 1c6bd7173d66b3 introduced a regression where an online resize
operation which did not change the number of block groups would fail,
i.e:
mke2fs -t /dev/vdc 60000
mount /dev/vdc
resize2fs /dev/vdc 60001
This was due to a bug in the logic regarding when to try converting
the filesystem to use meta_bg.
Also fix up a number of other minor issues with the online resizing
code: (a) Fix a sparse warning; (b) only check to make sure the device
is large enough once, instead of multiple times through the resize
loop.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/Makefile')
0 files changed, 0 insertions, 0 deletions