Searched hist:"59 e31c15" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ext4/ |
H A D | resize.c | 59e31c15 Tue Sep 18 23:55:56 CDT 2012 Theodore Ts'o <tytso@mit.edu> 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> 59e31c15 Tue Sep 18 23:55:56 CDT 2012 Theodore Ts'o <tytso@mit.edu> 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>
|