e2fsprogs/resize
Theodore Ts'o 515e555a0c resize2fs: don't fail when shrinking an empty file system
This commit fixes a failure when running the commands:

dd if=/dev/zero of=fs bs=1k count=100k; mke2fs fs; resize2fs -Mp fs

We should not try truncating the file system if there is only a single
block group in the file system.

Addresses-Sourceforge-Bug: #3404051

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-16 19:29:40 -04:00
..
Makefile.in Don't use in-tree header files if using system uuid or blkid libraries 2009-10-04 14:45:08 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
extent.c Fix spelling errors pointed out by translators 2011-10-08 13:32:00 -04:00
main.c libext2fs: make ext2fs_open_file() always use 3 arguments instead of varargs 2011-10-06 13:28:07 -04:00
online.c resize2fs: Do not fail if EXT4_IOC_RESIZE_FS ioctl doesn't exist 2011-10-16 18:18:51 -04:00
resize2fs.8.in resize2fs.8.in: Document that resize2fs -p only works on offline resizes 2010-11-26 19:35:30 -05:00
resize2fs.c resize2fs: don't fail when shrinking an empty file system 2011-10-16 19:29:40 -04:00
resize2fs.h resize2fs: Fix up to be 64-bit block number safe 2010-06-13 18:00:00 -04:00
sim_progress.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
test_extent.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
test_extent.in Many files: 1997-06-17 03:52:12 +00:00