Whamcloud - gitweb
resize2fs: fix overhead calculation for meta_bg file systems
authorTheodore Ts'o <tytso@mit.edu>
Mon, 3 Sep 2012 16:40:54 +0000 (12:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2012 03:05:32 +0000 (23:05 -0400)
commit7f82034438e424c766e1ad5847ed0e4ccc090edf
tree41dd789bc5ec5aecbd95c368e5a3fcc5f2f498d0
parentea38e503073c2c541517ff5fb92135cc4a470a77
resize2fs: fix overhead calculation for meta_bg file systems

The file system overhead calculation in calculate_minimum_resize_size
was incorrect meta_bg file systems.  This caused the minimum size to
underflow for very large file systems, which threw resize2fs into a
loop generally lasted longer than the user's patience.

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