Whamcloud - gitweb
resize2fs: relax requirements for -P output a bit
authorEric Sandeen <sandeen@redhat.com>
Mon, 12 Jul 2010 18:27:44 +0000 (13:27 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 17 Jul 2010 10:36:26 +0000 (06:36 -0400)
commit8587d393b0f305a8e7c4f4908701af209e261696
tree7c102acd7a06594cce399b1797b86eef8be62bc6
parentd85bdf7f198a5f88c3d45e6f16cb55f2d2ccdbfb
resize2fs: relax requirements for -P output a bit

Requiring an immediate pre-fsck before printing a minimum
resize size seems a bit draconian; if the fs isn't clean or marked
with error, then certainly, but for an informational minimum
size, I don't think we need to require a fsck since last mount.

I had simply copied the checks from the actual resize path,
previously.

Installers use this option (-P) to gather minimum resize info,
and requiring an actual fsck before use just seems to go too far.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
resize/main.c